# FrontmatterNode

**Kind:** Class

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

**Extends:** `DecoratorNode`

## Methods

| Method | Signature | Returns |
|---|---|---|
| `getType` | `getType()` | `string` |
| `clone` | `clone(node: FrontmatterNode)` | `FrontmatterNode` |
| `importJSON` | `importJSON(serializedNode: SerializedFrontmatterNode)` | `FrontmatterNode` |
| `exportJSON` | `exportJSON()` | `SerializedFrontmatterNode` |
| `createDOM` | `createDOM(_config: EditorConfig)` | `HTMLDivElement` |
| `updateDOM` | `updateDOM()` | `false` |
| `getYaml` | `getYaml()` | `string` |
| `setYaml` | `setYaml(yaml: string)` | `void` |
| `decorate` | `decorate(editor: LexicalEditor)` | `JSX.Element` |
| `isKeyboardSelectable` | `isKeyboardSelectable()` | `boolean` |

## Properties

| Property | Type |
|---|---|
| `__yaml` | `string` |
