NodeViewConstructor
The type of function provided to create node views.
type NodeViewConstructor = (
node: Node,
view: EditorView,
getPos: () => number | undefined,
decorations: readonly Decoration[],
innerDecorations: DecorationSource,
) => NodeView;§Type
§
(node: Node, view: EditorView, getPos: () => number | undefined, decorations: readonly Decoration[], innerDecorations: DecorationSource) => NodeView
[src]