# DirectiveNode

**Kind:** Class

**Source:** [`atloria-monorepo/packages/editor/src/plugins/directives/DirectiveNode.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/editor/src/plugins/directives/DirectiveNode.tsx#L27)

**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` |
