• Live demo
  • Docs
  • API Reference
GitHub
@mdxeditor/editor package
Classes
Functions
Types
Interfaces
ButtonOrDropdownButtonProps
CodeBlockEditorContextValue
CodeBlockEditorDescriptor
CodeBlockEditorProps
CodeBlockPluginParams
Comparator
ConditionalContentsProps
CreateCodeBlockNodeOptions
CreateImageNodeOptions
DialogButtonProps
DiffSourcePluginParams
DirectiveDescriptor
attributes
Editor
hasChildren
name
type
DirectiveEditorProps
DirectivesPluginParams
EditorInFocus
InsertImageFormValues
JsxComponentDescriptor
JsxEditorProps
JsxPluginParams
JsxPropertyDescriptor
LexicalConvertOptions
LexicalExportVisitor
LexicalNodeVisitParams
LexicalVisitActions
MdastImportVisitor
MdastVisitActions
MdastVisitParams
MDXEditorMethods
MDXEditorProps
NestedEditorProps
NestedEditorsContextValue
PropertyPopoverProps
RealmPluginParams
SandpackConfig
SandpackPreset
SelectProps
SingleChoiceToggleGroupProps
System
SystemConstructor
SystemPropsMap
SystemSpec
Variables

DirectiveDescriptor.Editor property

The React component to be used as an Editor. See DirectiveEditorProps for the props passed to the component.

Signature:

Editor: React.ComponentType<DirectiveEditorProps<T>>;
  • DirectiveDescriptor.Editor property
Copyright © 2023 Petyo Ivanov
  • GitHub
  • Twitter
  • LinkedIn
  • Email