The editor instance.
The extension that is responsible for the node.
A function that can be called to get the node's current position in the document.
The HTML attributes that should be added to the node's DOM element.
holds the decorations for the node's content. You can safely ignore this if your view has no content or a contentDOM property, since the editor will draw the decorations on the content. But if you, for example, want to create a nested editor with the content, it may make sense to provide it with the inner decorations.
The node that is being rendered.
The editor's view.
is an array of node or inline decorations that are active around the node. They are automatically drawn in the normal way, and you will usually just want to ignore this, but they can also be used as a way to provide context information to the node view without adding it to the document itself.