NestedEditorsContextValue interface
The value of the NestedEditorsContext React context.
Signature:
export interface NestedEditorsContextValue<T extends Node>
Properties
Property | Modifiers | 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> & { setMdastNode: (mdastNode: any) => void; } | The lexical node that is being edited | |
mdastNode | T | The mdast node that is being edited | |
parentEditor | LexicalEditor | The parent lexical editor |