Interface: NestedEditorsContextValue<T>
The value of the NestedEditorsContext React context.
Type parameters
Type parameter |
---|
T extends Node |
Properties
Property | Type | Description |
---|---|---|
config | EditorConfig | The parent editor config |
focusEmitter | VoidEmitter | Subscribe to the emitter and implement the logic to focus the custom editor. |
lexicalNode | DecoratorNode <any > & object | The lexical node that is being edited |
mdastNode | T | The mdast node that is being edited |
parentEditor | LexicalEditor | The parent lexical editor |