Interface: DirectiveEditorProps<T>
The properties passed to the DirectiveDescriptor.Editor component.
Type parameters
Type parameter | Value |
---|---|
T extends Directives | Directives |
Properties
Property | Type | Description |
---|---|---|
descriptor | DirectiveDescriptor <Directives > | The descriptor that activated the editor |
lexicalNode | DirectiveNode | The Lexical directive node. |
mdastNode | T | The mdast directive node. |
parentEditor | LexicalEditor | The parent lexical editor - use this if you are dealing with the Lexical APIs. |