Interface: NestedEditorsContextValue<T>

The value of the NestedEditorsContext React context.

Type parameters

NameType
Textends Node

Table of contents

Properties

Properties

config

config: EditorConfig

The parent editor config


focusEmitter

focusEmitter: VoidEmitter

Subscribe to the emitter and implement the logic to focus the custom editor.


lexicalNode

lexicalNode: DecoratorNode<any> & { setMdastNode: (mdastNode: any) => void }

The lexical node that is being edited


mdastNode

mdastNode: T

The mdast node that is being edited


parentEditor

parentEditor: LexicalEditor

The parent lexical editor