Skip to content

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) 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.

RegistrableNode[]

null