This page is available as Markdown at /api/plugins/functions/nodeplugin.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.
NodePlugin
NodePlugin(
props):null
Defined in: plugin.node.tsx:17
Plugin component that registers a list of nodes (containers, text
blocks, spans, block objects, inline objects, decorators, annotations)
with the editor. Each node is the result of a defineX factory.
Stabilize the nodes array (a module-level constant or useMemo)
to avoid a full unregister/re-register cycle on every parent
render: a new array reference per render triggers the registration
effect to re-run.
Parameters
Section titled “Parameters”RegistrableNode[]
Returns
Section titled “Returns”null