Kind: Class
Source: atloria-monorepo/packages/editor/src/plugins/frontmatter/FrontmatterNode.tsx
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 |
Was this page helpful?