Kind: Class
Source: atloria-monorepo/packages/editor/src/plugins/directives/DirectiveNode.tsx
Extends: DecoratorNode
Methods
| Method | Signature | Returns |
|---|---|---|
getType | getType() | string |
clone | clone(node: DirectiveNode) | DirectiveNode |
importJSON | importJSON(serializedNode: SerializedDirectiveNode) | DirectiveNode |
getMdastNode | getMdastNode() | Directives |
exportJSON | exportJSON() | SerializedDirectiveNode |
createDOM | createDOM() | HTMLElement |
updateDOM | updateDOM() | false |
setMdastNode | setMdastNode(mdastNode: Directives) | void |
decorate | decorate(parentEditor: LexicalEditor, config: EditorConfig) | JSX.Element |
isInline | isInline() | boolean |
isKeyboardSelectable | isKeyboardSelectable() | boolean |
Properties
| Property | Type |
|---|---|
__mdastNode | Directives |
__focusEmitter | any |
select | any |
Was this page helpful?