Interface: DirectiveEditorProps<T>

The properties passed to the DirectiveDescriptor.Editor component.

Type parameters

Type parameterValue
T extends DirectivesDirectives

Properties

PropertyTypeDescription
descriptorDirectiveDescriptor<Directives>The descriptor that activated the editor
lexicalNodeDirectiveNodeThe Lexical directive node.
mdastNodeTThe mdast directive node.
parentEditorLexicalEditorThe parent lexical editor - use this if you are dealing with the Lexical APIs.