Optionaloptions: Partial<Options>The DOM node that should hold the node's content. Only meaningful
if the node view also defines a dom property and if its node
type is not a leaf node type. When this is present, ProseMirror
will take care of rendering the node's children into it. When it
is not present, the node view itself is responsible for rendering
(or deciding not to render) its child nodes.
The outer DOM node that represents the document node.
Delete the node.
Called when a DOM mutation or a selection change happens within the view.
false if the editor should re-read the selection or re-parse the range around the mutation
Can be used to prevent the editor view from trying to handle some or all DOM events that bubble up from the node view. Events for which this returns true are not handled by the editor.
Update the attributes of the prosemirror node.
Node views are used to customize the rendered DOM structure of a node.
See
https://tiptap.dev/guide/node-views