Decoration | Decoration objects can be provided to the view through the
|
DecorationSet | A collection of decorations, organized in such a way that the drawing algorithm can efficiently use and compare them. This is a persistent data structure—it is not modified, updates create a new value. |
EditorView | An editor view manages the DOM structure that represents an editable document. Its state and behavior are determined by its props. |
DecorationSource | An object that can provide
decorations. Implemented by |
DirectEditorProps | The props object given directly to the editor view supports some fields that can't be used in plugins: |
DOMEventMap | Helper type that maps event names to event object types, but includes events that TypeScript's HTMLElementEventMap doesn't know about. |
EditorProps | Props are configuration values that can be passed to an editor view or included in a plugin. This interface lists the supported props. |
NodeView | By default, document nodes are rendered using the result of the
|
DecorationAttrs | A set of attributes to add to a decorated node. Most properties simply directly correspond to DOM attributes of the same name, which will be set to the property's value. These are exceptions: |
MarkViewConstructor | The function types used to create mark views. |
NodeViewConstructor | The type of function provided to create node views. |