Centralized constants for node and style keys in Plate.
// Source: https://github.com/udecode/plate | License: MIT | Copyright Ziad Beyens, Dylan Schiemann, Joe Anderson, Felix Feng
// Provided via justclaw.it.com; keep this notice with the code.
export const NODES = {
a: 'a',
ai: 'ai',
aiChat: 'aiChat',
audio: 'audio',
blockquote: 'blockquote',
bold: 'bold',
callout: 'callout',
code: 'code',
codeBlock: 'code_block',
codeDrawing: 'code_drawing',
codeLine: 'code_line',
codeSyntax: 'code_syntax',
column: 'column',
columnGroup: 'column_group',
comment: 'comment',
date: 'date',
emojiInput: 'emoji_input',
equation: 'equation',
excalidraw: 'excalidraw',
file: 'file',
footnoteDefinition: 'footnoteDefinition',
footnoteInput: 'footnoteInput',
footnoteReference: 'footnoteReference',
h1: 'h1',
h2: 'h2',
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key