{ "root": true, "pages": [ "---Get Started---", "[Introduction](/docs)", "[Installation](/docs/installation)", "[Releases](/docs/releases)", "---Installation---", "[Plate UI](/docs/installation/plate-ui)", "[Next.js](/docs/installation/next)", "[React](/docs/installation/react)", "[Manual](/docs/installation/manual)", "[RSC](/docs/installation/rsc)", "[Node.js](/docs/installation/node)", "[Local Docs](/docs/installation/docs)", "[MCP](/docs/installation/mcp)", "---Guides---", "[Feature Kits](/docs/feature-kits)", "[Upload Files](/docs/upload)", "[Plugin](/docs/plugin)", "[Plugin Methods](/docs/plugin-methods)", "[Plugin Shortcuts](/docs/plugin-shortcuts)", "[Plugin Context](/docs/plugin-context)", "[Plugin Components](/docs/plugin-components)", "[Plugin Rules](/docs/plugin-rules)", "[Editing Behavior](/docs/editing-behavior)", "[Authored Changes](/docs/authored-changes)", "[Plugin Input Rules](/docs/plugin-input-rules)", "[Editor](/docs/editor)", "[Selection](/docs/selection)", "[Document Model](/docs/document-model)", "[Editor Methods](/docs/editor-methods)", "[Controlled Value](/docs/controlled)", "[Performance](/docs/performance)", "[Static Rendering](/docs/static)", "[HTML](/docs/html)", "[Markdown](/docs/markdown)", "[Form](/docs/form)", "[Right-to-left](/docs/rtl)", "[TypeScript](/docs/typescript)", "[Debugging](/docs/debugging)", "[Unit Testing](/docs/unit-testing)", "[Browser](/docs/browser)", "[Troubleshooting](/docs/troubleshooting)", "[Locations](/docs/locations)", "[Transactions](/docs/transactions)", "[Serializing](/docs/serializing)", "[Roots](/docs/roots)", "[Document Meta](/docs/document-meta)", "[Clipboard and Paste](/docs/clipboard)", "[Decorations and annotations](/docs/decorations)", "[Schema](/docs/schema)", "[History](/docs/history)", "[Pagination](/docs/pagination)", "[Annotations](/docs/annotations)", "[DOM Coverage](/docs/dom-coverage)", "[External Text Views](/docs/external-text)", "[Virtualized Rendering](/docs/virtualized-rendering)", "---Plugins---", "[Overview](/docs/plugins)", "[Stream](/docs/ai)", "[Copilot](/docs/copilot)", "[Comments](/docs/comment)", "[Discussion](/docs/discussion)", "[Suggestions](/docs/suggestion)", "[Basic Blocks](/docs/basic-blocks)", "[Blockquote](/docs/blockquote)", "[Heading](/docs/heading)", "[Horizontal Rule](/docs/horizontal-rule)", "[Board](/docs/board)", "[Callout](/docs/callout)", "[Code Block](/docs/code-block)", "[Column](/docs/column)", "[Date](/docs/date)", "[Equation](/docs/equation)", "[Link](/docs/link)", "[Media](/docs/media)", "[Mention](/docs/mention)", "[Table](/docs/table)", "[Table of Contents](/docs/toc)", "[Footnote](/docs/footnote)", "[Details](/docs/details)", "[Marks](/docs/basic-marks)", "[Bold](/docs/bold)", "[Italic](/docs/italic)", "[Underline](/docs/underline)", "[Code](/docs/code)", "[Highlight](/docs/highlight)", "[Keyboard Input](/docs/kbd)", "[Strikethrough](/docs/strikethrough)", "[Subscript](/docs/subscript)", "[Superscript](/docs/superscript)", "[Font](/docs/font)", "[Line Height](/docs/line-height)", "[Text Align](/docs/text-align)", "[Clear Formatting](/docs/clear-formatting)", "[Format Painter](/docs/format-painter)", "[Indent](/docs/indent)", "[List](/docs/list)", "[Exit Break](/docs/exit-break)", "[Single Block](/docs/single-block)", "[Trailing Block](/docs/trailing-block)", "[Autoformat](/docs/autoformat)", "[Block Menu](/docs/block-menu)", "[Block Placeholder](/docs/block-placeholder)", "[Combobox](/docs/combobox)", "[Emoji](/docs/emoji)", "[Slash Command](/docs/slash-command)", "[Drag & Drop](/docs/dnd)", "[Navigation Feedback](/docs/navigation-feedback)", "[Linting](/docs/lint)", "[Tabbable](/docs/tabbable)", "[Toolbar](/docs/toolbar)", "[Yjs](/docs/yjs)", "[Multi Select](/docs/multi-select)", "[DOCX](/docs/docx)", "---Components---", "[Components](/docs/components)", "[AI](/docs/components/ai)", "[AI Menu](/docs/components/ai-menu)", "[AI Toolbar Button](/docs/components/ai-toolbar-button)", "[Align Toolbar Button](/docs/components/align-toolbar-button)", "[Block Context Menu](/docs/components/block-menu)", "[Import Toolbar Button](/docs/components/import-toolbar-button)", "[Export Toolbar Button](/docs/components/export-toolbar-button)", "[Caption](/docs/components/caption)", "[Font Color Toolbar Button](/docs/components/font-color-toolbar-button)", "[Comment Toolbar Button](/docs/components/comment-toolbar-button)", "[Block Draggable](/docs/components/dnd)", "[Editor](/docs/components/editor)", "[Select Editor](/docs/components/select-editor)", "[Emoji Toolbar Button](/docs/components/emoji-toolbar-button)", "[Fixed Toolbar](/docs/components/fixed-toolbar)", "[Floating Toolbar](/docs/components/floating-toolbar)", "[Ghost Text](/docs/components/copilot)", "[History Toolbar Button](/docs/components/history-toolbar-button)", "[List Toolbar Button](/docs/components/list-toolbar-button)", "[Indent Toolbar Buttons](/docs/components/indent-toolbar-button)", "[Inline Combobox](/docs/components/inline-combobox)", "[Insert Toolbar Button](/docs/components/insert-toolbar-button)", "[Line Height Toolbar Button](/docs/components/line-height-toolbar-button)", "[Clear Formatting Toolbar Button](/docs/components/clear-formatting-toolbar-button)", "[Format Painter Toolbar Button](/docs/components/format-painter-toolbar-button)", "[Link Floating Toolbar](/docs/components/link)", "[Link Toolbar Button](/docs/components/link-toolbar-button)", "[Mark Toolbar Button](/docs/components/mark-toolbar-button)", "[Media Toolbar](/docs/components/media-toolbar)", "[Media Toolbar Button](/docs/components/media-toolbar-button)", "[Media Upload Toast](/docs/components/media)", "[Mode Toolbar Button](/docs/components/mode-toolbar-button)", "[More Toolbar Button](/docs/components/more-toolbar-button)", "[Resize Handle](/docs/components/resize-handle)", "[Table Toolbar Button](/docs/components/table-toolbar-button)", "[Details Toolbar Button](/docs/components/details-toolbar-button)", "[Turn Into Toolbar Button](/docs/components/turn-into-toolbar-button)", "[Remote Cursor Overlay](/docs/components/remote-cursor-overlay)", "[Toolbar](/docs/components/toolbar)", "[Suggestion Toolbar Button](/docs/components/suggestion-toolbar-button)", "[Node Components](/docs/components#node-components)", "[List](/docs/components/block-list)", "[Blockquote Element](/docs/components/blockquote)", "[Board Element](/docs/components/board)", "[Callout Node](/docs/components/callout)", "[Code Block Nodes](/docs/components/code-block)", "[Code Leaf](/docs/components/code)", "[Column Nodes](/docs/components/column)", "[Comments UI](/docs/components/comment)", "[Suggestion UI](/docs/components/suggestion)", "[Date Element](/docs/components/date)", "[Equation Element](/docs/components/math)", "[Equation Toolbar Button](/docs/components/equation-toolbar-button)", "[Emoji Input Element](/docs/components/emoji)", "[Excalidraw Element](/docs/components/excalidraw)", "[Font Size Toolbar Button](/docs/components/font-size-toolbar-button)", "[Footnote Elements](/docs/components/footnote)", "[Heading Element](/docs/components/heading)", "[Highlight Leaf](/docs/components/highlight)", "[Horizontal Rule Element](/docs/components/horizontal-rule)", "[Image Element](/docs/components/media-image)", "[Media Preview Dialog](/docs/components/media-preview-dialog)", "[Keyboard Input Leaf](/docs/components/kbd)", "[Media Audio Element](/docs/components/media-audio)", "[Media Embed Element](/docs/components/media-embed)", "[Media File Element](/docs/components/media-file)", "[Media Video Element](/docs/components/media-video)", "[Mention Nodes](/docs/components/mention)", "[Paragraph Element](/docs/components/paragraph)", "[Find](/docs/components/find)", "[Lint](/docs/components/lint)", "[Slash Input Element](/docs/components/slash)", "[Table Element](/docs/components/table)", "[TOC Element](/docs/components/toc)", "[Details Element](/docs/components/details)", "---Examples---", "[Overview](/docs/examples)", "[HTML Export](/docs/examples/html-export)", "[Export](/docs/examples/export)", "[Server-Side](/docs/examples/server-side)", "[Version History](/docs/examples/version-history)", "[Editable Voids](/docs/examples/editable-voids)", "[Huge Document](/docs/examples/huge-document)", "[Hundreds Editors](/docs/examples/hundreds-editors)", "[Markdown Streaming](/docs/examples/markdown-streaming)", "[Preview Markdown](/docs/examples/preview-markdown)", "[Collaboration Demo](/docs/examples/collaboration)", "[Table Nomerge Demo](/docs/examples/table-nomerge)", "[Board Demo](/docs/examples/board)", "[Excalidraw Demo](/docs/examples/excalidraw)", "[Single Block Demo](/docs/examples/single-block)", "[Find Demo](/docs/examples/find)", "[Lint Demo](/docs/examples/lint)", "[AI Demo](/docs/examples/ai)", "[Align Demo](/docs/examples/align)", "[Autoformat Demo](/docs/examples/autoformat)", "[Basic Nodes Demo](/docs/examples/basic-nodes)", "[Block Menu Demo](/docs/examples/block-menu)", "[Node Selection Demo](/docs/examples/node-selection)", "[Column Demo](/docs/examples/column)", "[Code Block Demo](/docs/examples/code-block)", "[Callout Demo](/docs/examples/callout)", "[Discussion Demo](/docs/examples/discussion)", "[Date Demo](/docs/examples/date)", "[Footnote Demo](/docs/examples/footnote)", "[Drag & Drop Demo](/docs/examples/dnd)", "[Emoji Demo](/docs/examples/emoji)", "[Equation Demo](/docs/examples/equation)", "[Exit Break Demo](/docs/examples/exit-break)", "[Floating Toolbar Demo](/docs/examples/floating-toolbar)", "[Font Demo](/docs/examples/font)", "[Indent Demo](/docs/examples/indent)", "[List Demo](/docs/examples/list)", "[Line Height Demo](/docs/examples/line-height)", "[Clear Formatting Demo](/docs/examples/clear-formatting)", "[Format Painter Demo](/docs/examples/format-painter)", "[Link Demo](/docs/examples/link)", "[Media Demo](/docs/examples/media)", "[Mention Demo](/docs/examples/mention)", "[Block Placeholder Demo](/docs/examples/block-placeholder)", "[Serializing Docx Demo](/docs/examples/docx)", "[Serializing HTML Demo](/docs/examples/html)", "[Serializing Markdown Demo](/docs/examples/markdown)", "[Slash Command Demo](/docs/examples/slash-command)", "[Plugin Rules Demo](/docs/examples/plugin-rules)", "[Table Demo](/docs/examples/table)", "[Table of Contents Demo](/docs/examples/toc)", "[Details Demo](/docs/examples/details)", "---Migrations---", "[From Plite to Plate](/docs/migration/plite-to-plate)", "---API---", "[Overview](/docs/api)", "[Plate](/docs/api/plate)", "[Editor API](/docs/api/editor-api)", "[Editor Transforms](/docs/api/editor-transforms)", "[Node](/docs/api/node)", "[Element](/docs/api/element)", "[Text](/docs/api/text)", "[Path](/docs/api/path)", "[Point](/docs/api/point)", "[Range](/docs/api/range)", "[Location](/docs/api/location)", "[Location Ref](/docs/api/anchor)", "[Document Change](/docs/api/document-change)", "[Plate Core](/docs/api/core)", "[Plate Components](/docs/api/core/plate-components)", "[Plate Editor](/docs/api/core/plate-editor)", "[Plate Plugin](/docs/api/core/plate-plugin)", "[Editor Context](/docs/api/core/plate-store)", "[Plate Controller](/docs/api/core/plate-controller)", "[Plate Utils](/docs/api/utils)", "[Resizable](/docs/api/resizable)", "[Selection](/docs/api/selection)", "[DOM API](/docs/api/dom)", "[React Hooks](/docs/api/react-hooks)", "plite" ], "_plate": { "categoryGroups": { "api": [ { "items": [ { "description": "Plate API.", "href": "/docs/api/plate", "title": "Plate" }, { "href": "/docs/api/editor-api", "title": "Editor API", "titleCn": "编辑器 API" }, { "href": "/docs/api/editor-transforms", "title": "Editor Transforms", "titleCn": "编辑器事务" }, { "href": "/docs/api/node", "title": "Node", "titleCn": "节点" }, { "href": "/docs/api/element", "title": "Element", "titleCn": "元素" }, { "href": "/docs/api/text", "title": "Text", "titleCn": "文本" }, { "href": "/docs/api/path", "title": "Path", "titleCn": "路径" }, { "href": "/docs/api/point", "title": "Point", "titleCn": "点" }, { "href": "/docs/api/range", "title": "Range", "titleCn": "范围" }, { "href": "/docs/api/location", "title": "Location", "titleCn": "位置" }, { "href": "/docs/api/anchor", "title": "Anchor", "titleCn": "锚点" }, { "href": "/docs/api/selection", "title": "Selection", "titleCn": "选择" }, { "href": "/docs/api/document-change", "title": "Document Change", "titleCn": "文档变更" }, { "href": "/docs/api/dom", "title": "DOM API", "titleCn": "DOM API" }, { "href": "/docs/api/react-hooks", "title": "React Hooks", "titleCn": "React Hooks" }, { "description": "Core utilities for Plate.", "href": "/docs/api/core", "items": [ { "href": "/docs/api/core/plate-components", "title": "Plate Components", "titleCn": "Plate 组件" }, { "href": "/docs/api/core/plate-editor", "title": "Plate Editor", "titleCn": "Plate 编辑器" }, { "href": "/docs/api/core/plate-plugin", "title": "Plate Plugin", "titleCn": "Plate 插件" }, { "href": "/docs/api/core/plate-store", "title": "Editor Context", "titleCn": "编辑器上下文" }, { "href": "/docs/api/core/plate-controller", "title": "Plate Controller", "titleCn": "Plate 控制器" } ], "title": "Plate Core", "titleCn": "Plate 核心" }, { "description": "Additional utilities for Plate.", "href": "/docs/api/utils", "title": "Plate Utils", "titleCn": "Plate 工具" }, { "description": "API reference for platejs/react", "href": "/docs/api/resizable", "title": "Resizable", "titleCn": "Resizable" } ] } ], "component": [ { "href": "/docs/components", "items": [ { "description": "Streaming edits and command menu.", "href": "/docs/components/ai", "title": "AI", "titleCn": "AI" }, { "description": "A menu for AI-powered content generation and insertion.", "href": "/docs/components/ai-menu", "title": "AI Menu", "titleCn": "AI Menu" }, { "description": "A toolbar button for accessing AI features.", "href": "/docs/components/ai-toolbar-button", "title": "AI Toolbar Button", "titleCn": "AI Toolbar Button" }, { "description": "A dropdown menu for text alignment controls.", "href": "/docs/components/align-toolbar-button", "title": "Align Toolbar Button", "titleCn": "Align Toolbar Button" }, { "description": "A context menu for block-level operations.", "href": "/docs/components/block-menu", "title": "Block Menu", "titleCn": "Block Menu" }, { "description": "A toolbar button to import editor content from a file.", "href": "/docs/components/import-toolbar-button", "title": "Import Toolbar Button", "titleCn": "Import Toolbar Button" }, { "description": "A toolbar button for exporting editor content in various formats (HTML, PDF, Image, Markdown).", "href": "/docs/components/export-toolbar-button", "title": "Export Toolbar Button", "titleCn": "Export Toolbar Button" }, { "description": "A text field for adding captions to media elements.", "href": "/docs/components/caption", "title": "Caption", "titleCn": "Caption" }, { "description": "A color picker toolbar button with text and background color controls.", "href": "/docs/components/font-color-toolbar-button", "title": "Font Color Toolbar Button", "titleCn": "Font Color Toolbar Button" }, { "description": "A toolbar button for adding inline comments.", "href": "/docs/components/comment-toolbar-button", "title": "Comment Toolbar Button", "titleCn": "Comment Toolbar Button" }, { "description": "A block wrapper with a drag handle for moving editor blocks.", "href": "/docs/components/dnd", "title": "Drag and Drop", "titleCn": "Drag and Drop" }, { "description": "A container for the editor content and styling.", "href": "/docs/components/editor", "title": "Editor", "titleCn": "Editor" }, { "description": "An editor to select tags.", "href": "/docs/components/select-editor", "title": "Select Editor", "titleCn": "Select Editor" }, { "description": "An emoji picker toolbar button.", "href": "/docs/components/emoji-toolbar-button", "title": "Emoji Toolbar Button", "titleCn": "Emoji Toolbar Button" }, { "description": "A fixed toolbar that stays at the top of the editor.", "href": "/docs/components/fixed-toolbar", "title": "Fixed Toolbar", "titleCn": "Fixed Toolbar" }, { "description": "A contextual toolbar that appears over selected text.", "href": "/docs/components/floating-toolbar", "title": "Floating Toolbar", "titleCn": "Floating Toolbar" }, { "description": "A text suggestion system that displays AI-generated content after the cursor.", "href": "/docs/components/copilot", "title": "Copilot", "titleCn": "Copilot" }, { "description": "Toolbar buttons for undo and redo operations.", "href": "/docs/components/history-toolbar-button", "title": "History Toolbar Button", "titleCn": "History Toolbar Button" }, { "description": "A toolbar control for adjusting list indentation.", "href": "/docs/components/list-toolbar-button", "title": "List Toolbar Button", "titleCn": "List Toolbar Button" }, { "description": "Toolbar controls for block indentation.", "href": "/docs/components/indent-toolbar-button", "title": "Indent Toolbar Buttons", "titleCn": "Indent Toolbar Buttons" }, { "description": "A combobox for inline suggestions.", "href": "/docs/components/inline-combobox", "title": "Inline Combobox", "titleCn": "Inline Combobox" }, { "description": "A menu for inserting different types of blocks.", "href": "/docs/components/insert-toolbar-button", "title": "Insert Toolbar Button", "titleCn": "Insert Toolbar Button" }, { "description": "A menu for controlling text line spacing.", "href": "/docs/components/line-height-toolbar-button", "title": "Line Height Toolbar Button", "titleCn": "Line Height Toolbar Button" }, { "description": "A toolbar button that clears text and block formatting.", "href": "/docs/components/clear-formatting-toolbar-button", "title": "Clear Formatting Toolbar Button", "titleCn": "Clear Formatting Toolbar Button" }, { "description": "A toolbar button that copies the look of the selection onto the next text you select.", "href": "/docs/components/format-painter-toolbar-button", "title": "Format Painter Toolbar Button", "titleCn": "Format Painter Toolbar Button" }, { "description": "A floating interface for link editing.", "href": "/docs/components/link", "title": "Link Floating Toolbar", "titleCn": "Link Floating Toolbar" }, { "description": "A toolbar control for link management.", "href": "/docs/components/link-toolbar-button", "title": "Link Toolbar Button", "titleCn": "Link Toolbar Button" }, { "description": "A toolbar control for basic text formatting.", "href": "/docs/components/mark-toolbar-button", "title": "Mark Toolbar Button", "titleCn": "Mark Toolbar Button" }, { "description": "A toolbar interface for media settings.", "href": "/docs/components/media-toolbar", "title": "Media Toolbar", "titleCn": "Media Toolbar" }, { "description": "Toolbar button for inserting and managing media.", "href": "/docs/components/media-toolbar-button", "title": "Media Toolbar Button", "titleCn": "Media Toolbar Button" }, { "description": "Show toast notifications for media uploads.", "href": "/docs/components/media", "title": "Media", "titleCn": "Media" }, { "description": "A menu for switching between editor modes and deciding every suggestion.", "href": "/docs/components/mode-toolbar-button", "title": "Mode Toolbar Button", "titleCn": "Mode Toolbar Button" }, { "description": "A menu for additional text formatting options.", "href": "/docs/components/more-toolbar-button", "title": "More Toolbar Button", "titleCn": "More Toolbar Button" }, { "description": "A resizable wrapper with resize handles.", "href": "/docs/components/resize-handle", "title": "Resize Handle", "titleCn": "Resize Handle" }, { "description": "A menu for table manipulation and formatting.", "href": "/docs/components/table-toolbar-button", "title": "Table Toolbar Button", "titleCn": "Table Toolbar Button" }, { "description": "A toolbar button for wrapping or unwrapping Details blocks.", "href": "/docs/components/details-toolbar-button", "title": "Details Toolbar Button", "titleCn": "详细信息工具栏按钮" }, { "description": "A menu for converting between different block types.", "href": "/docs/components/turn-into-toolbar-button", "title": "Turn Into Toolbar Button", "titleCn": "Turn Into Toolbar Button" }, { "description": "A cursor overlay to display multiplayer cursors in the yjs plugin.", "href": "/docs/components/remote-cursor-overlay", "title": "Remote Cursor Overlay", "titleCn": "Remote Cursor Overlay" }, { "description": "A customizable toolbar component with various button styles and group", "href": "/docs/components/toolbar", "title": "Toolbar", "titleCn": "Toolbar" }, { "description": "A toolbar button for toggling suggestion mode in the editor.", "href": "/docs/components/suggestion-toolbar-button", "title": "Suggestion Toolbar Button", "titleCn": "Suggestion Toolbar Button" } ], "title": "Components", "titleCn": "组件" }, { "href": "/docs/components#node-components", "items": [ { "description": "List components.", "href": "/docs/components/block-list", "title": "List", "titleCn": "List" }, { "description": "A quote component for block quotes.", "href": "/docs/components/blockquote", "title": "Blockquote", "titleCn": "Blockquote" }, { "description": "A whiteboard block whose notes, shapes, arrows, frames and pen lines are document blocks.", "href": "/docs/components/board", "title": "Board", "titleCn": "白板" }, { "description": "A callout component for highlighting important information with customizable icons and styles.", "href": "/docs/components/callout", "title": "Callout", "titleCn": "Callout" }, { "description": "A code block with syntax highlighting and language selection.", "href": "/docs/components/code-block", "title": "Code Block", "titleCn": "Code Block" }, { "description": "An inline component for code snippets.", "href": "/docs/components/code", "title": "Code", "titleCn": "Code" }, { "description": "Resizable column components for layout.", "href": "/docs/components/column", "title": "Column", "titleCn": "Column" }, { "description": "Application-owned comment threads attached to durable editor ranges.", "href": "/docs/components/comment", "title": "Comments UI", "titleCn": "Comments UI" }, { "description": "Copied UI for native authored-change highlighting and review controls.", "href": "/docs/components/suggestion", "title": "Suggestion UI", "titleCn": "建议 UI" }, { "description": "A date field component with calendar picker.", "href": "/docs/components/date", "title": "Date", "titleCn": "Date" }, { "description": "Displays a LaTeX equation element with an editable popover for inputting and rendering mathematical expressions.", "href": "/docs/components/math", "title": "Math", "titleCn": "Math" }, { "description": "A toolbar button for inserting and editing equations.", "href": "/docs/components/equation-toolbar-button", "title": "Equation Toolbar Button", "titleCn": "Equation Toolbar Button" }, { "description": "An input component for emoji search and insertion.", "href": "/docs/components/emoji", "title": "Emoji", "titleCn": "Emoji" }, { "description": "A drawing component powered by Excalidraw.", "href": "/docs/components/excalidraw", "title": "Excalidraw", "titleCn": "Excalidraw" }, { "description": "A toolbar control for adjusting font size.", "href": "/docs/components/font-size-toolbar-button", "title": "Font Size Toolbar Button", "titleCn": "Font Size Toolbar Button" }, { "description": "Inline footnote references, definitions, and input UI.", "href": "/docs/components/footnote", "title": "Footnote", "titleCn": "Footnote" }, { "description": "A heading with multiple level support.", "href": "/docs/components/heading", "title": "Heading", "titleCn": "Heading" }, { "description": "A text highlighter with customizable colors.", "href": "/docs/components/highlight", "title": "Highlight", "titleCn": "Highlight" }, { "description": "A horizontal rule component with focus states.", "href": "/docs/components/horizontal-rule", "title": "Horizontal Rule", "titleCn": "Horizontal Rule" }, { "description": "Image element with lazy loading, resizing capabilities, and optional caption.", "href": "/docs/components/media-image", "title": "Media Image", "titleCn": "Media Image" }, { "description": "A modal component for previewing and manipulating images.", "href": "/docs/components/media-preview-dialog", "title": "Media Preview Dialog", "titleCn": "Media Preview Dialog" }, { "description": "A component for styling keyboard shortcuts.", "href": "/docs/components/kbd", "title": "Keyboard Input", "titleCn": "Keyboard Input" }, { "description": "A component for rendering hyperlinks with hover states.", "href": "/docs/components/link", "title": "Link Element", "titleCn": "Link Element" }, { "description": "An audio player component with caption support.", "href": "/docs/components/media-audio", "title": "Media Audio", "titleCn": "Media Audio" }, { "description": "A component for embedded media content with resizing and caption support.", "href": "/docs/components/media-embed", "title": "Media Embed", "titleCn": "Media Embed" }, { "description": "A file attachment component with download capability and caption.", "href": "/docs/components/media-file", "title": "Media File", "titleCn": "Media File" }, { "description": "A video player component with YouTube and file upload support.", "href": "/docs/components/media-video", "title": "Media Video", "titleCn": "Media Video" }, { "description": "A mention element with customizable prefix and label, powered by a combobox.", "href": "/docs/components/mention", "title": "Mention", "titleCn": "Mention" }, { "description": "A paragraph block with background color support.", "href": "/docs/components/paragraph", "title": "Paragraph", "titleCn": "Paragraph" }, { "description": "Search editable text with transient highlights and keyboard navigation.", "href": "/docs/components/find", "title": "Find", "titleCn": "查找" }, { "description": "Lint kit with example rules, severity underlines and a caret popover with fixes.", "href": "/docs/components/lint", "title": "Lint", "titleCn": "文本检查" }, { "description": "A command input component for inserting various elements.", "href": "/docs/components/slash", "title": "Slash Command", "titleCn": "Slash Command" }, { "description": "A table component with floating toolbar and border customization.", "href": "/docs/components/table", "title": "Table", "titleCn": "Table" }, { "description": "A table of contents component with links to document headings.", "href": "/docs/components/toc", "title": "Table of Contents", "titleCn": "Table of Contents" }, { "description": "A semantic disclosure block with an editable summary.", "href": "/docs/components/details", "title": "Details", "titleCn": "详细信息" } ], "title": "Node Components", "titleCn": "节点组件" } ], "example": [ { "items": [ { "description": "Export editor content to HTML.", "href": "/docs/examples/html-export", "title": "HTML Export", "titleCn": "HTML 导出" }, { "description": "Export a Plate document to a file.", "href": "/docs/examples/export", "title": "Export", "titleCn": "导出" }, { "description": "Server-side rendering.", "href": "/docs/examples/server-side", "title": "Server-Side", "titleCn": "服务端" }, { "description": "Retain accepted changes by author and selectively revert one contribution.", "href": "/docs/examples/version-history", "title": "Version History", "titleCn": "版本历史" }, { "description": "Nest editors in void nodes.", "href": "/docs/examples/editable-voids", "title": "Editable Voids", "titleCn": "可编辑的空节点" }, { "description": "Compare Plate and Plate on a large document.", "href": "/docs/examples/huge-document", "title": "Huge Document", "titleCn": "大型文档" }, { "description": "Render hundreds of editors.", "href": "/docs/examples/hundreds-editors", "title": "Hundreds Editors", "titleCn": "数百个编辑器" }, { "description": "Streaming markdown to editor.", "href": "/docs/examples/markdown-streaming", "title": "Markdown Streaming", "titleCn": "Markdown 流式" }, { "description": "Decorate texts with markdown preview.", "href": "/docs/examples/preview-markdown", "title": "Preview Markdown", "titleCn": "Markdown 预览" }, { "description": "Collaborative editing.", "href": "/docs/examples/collaboration", "title": "Collaboration Demo", "titleCn": "协作演示" }, { "href": "/docs/examples/table-nomerge", "title": "Table Nomerge Demo", "titleCn": "Table Nomerge" }, { "description": "A whiteboard with a note, a shape, an arrow, a frame and a pen line, and a second board to paste into.", "href": "/docs/examples/board", "title": "Board Demo", "titleCn": "白板演示" }, { "description": "A drawing component powered by Excalidraw.", "href": "/docs/examples/excalidraw", "title": "Excalidraw Demo", "titleCn": "Excalidraw" }, { "description": "Restrict the editor to a single block.", "href": "/docs/examples/single-block", "title": "Single Block Demo", "titleCn": "Single Block" }, { "description": "Find text with keyboard navigation and transient highlights.", "href": "/docs/examples/find", "title": "Find Demo", "titleCn": "查找" }, { "description": "Lint a document with local and server rules, a findings list and fixes.", "href": "/docs/examples/lint", "title": "Lint Demo", "titleCn": "文本检查" }, { "description": "AI menu with commands, streaming responses in a preview or directly into the editor.", "href": "/docs/examples/ai", "title": "AI Demo", "titleCn": "AI" }, { "description": "Text alignment controls for blocks.", "href": "/docs/examples/align", "title": "Align Demo", "titleCn": "Align" }, { "description": "Apply formatting automatically using shortcodes.", "href": "/docs/examples/autoformat", "title": "Autoformat Demo", "titleCn": "Autoformat" }, { "description": "Basic block elements and text marks.", "href": "/docs/examples/basic-nodes", "keywords": [ "element", "leaf" ], "title": "Basic Nodes Demo", "titleCn": "Basic Nodes" }, { "description": "Block-level context menu with formatting options.", "href": "/docs/examples/block-menu", "title": "Block Menu Demo", "titleCn": "Block Menu" }, { "description": "Visual multi-node selection backed by editor state.", "href": "/docs/examples/node-selection", "title": "Node Selection Demo", "titleCn": "Node Selection" }, { "description": "Column layout.", "href": "/docs/examples/column", "title": "Column Demo", "titleCn": "Column" }, { "description": "Display code with syntax highlighting.", "href": "/docs/examples/code-block", "title": "Code Block Demo", "titleCn": "Code Block" }, { "description": "Display callouts with different variants and icons.", "href": "/docs/examples/callout", "title": "Callout Demo", "titleCn": "Callout" }, { "description": "Review each block's comments and suggestions in Floating Discussion.", "href": "/docs/examples/discussion", "title": "Discussion Demo", "titleCn": "讨论演示" }, { "description": "Inline date elements with calendar selection interface.", "href": "/docs/examples/date", "title": "Date Demo", "titleCn": "Date" }, { "description": "GFM footnote references and definitions as dedicated editor nodes.", "href": "/docs/examples/footnote", "title": "Footnote Demo", "titleCn": "Footnote" }, { "description": "Implements draggable functionality for editor blocks, including drag handles and drop indicators.", "href": "/docs/examples/dnd", "title": "Drag & Drop Demo", "titleCn": "Drag & Drop" }, { "description": "Emoji insertion via toolbar or colon-triggered combobox.", "href": "/docs/examples/emoji", "title": "Emoji Demo", "titleCn": "Emoji" }, { "description": "LaTeX equations with inline and block formats.", "href": "/docs/examples/equation", "title": "Equation Demo", "titleCn": "Equation" }, { "description": "Exit a large block using a shortcut.", "href": "/docs/examples/exit-break", "title": "Exit Break Demo", "titleCn": "Exit Break" }, { "description": "Floating toolbar with text formatting and AI assistance options.", "href": "/docs/examples/floating-toolbar", "title": "Floating Toolbar Demo", "titleCn": "Floating Toolbar" }, { "description": "Color picker for text and background colors.", "href": "/docs/examples/font", "title": "Font Demo", "titleCn": "Font" }, { "href": "/docs/examples/indent", "title": "Indent Demo", "titleCn": "Indent" }, { "description": "Turn any block into a list item.", "href": "/docs/examples/list", "title": "List Demo", "titleCn": "List" }, { "description": "Line height adjustment controls.", "href": "/docs/examples/line-height", "title": "Line Height Demo", "titleCn": "Line Height" }, { "description": "Clear text and block styles from a selection.", "href": "/docs/examples/clear-formatting", "title": "Clear Formatting Demo", "titleCn": "Clear Formatting" }, { "description": "Copy the look of one piece of text onto another.", "href": "/docs/examples/format-painter", "title": "Format Painter Demo", "titleCn": "Format Painter" }, { "description": "Hyperlinks with toolbar insertion and URL pasting support.", "href": "/docs/examples/link", "title": "Link Demo", "titleCn": "Link" }, { "description": "Media embedding and management.", "href": "/docs/examples/media", "title": "Media Demo", "titleCn": "Media" }, { "description": "Mention functionality for referencing users or entities.", "href": "/docs/examples/mention", "title": "Mention Demo", "titleCn": "Mention" }, { "href": "/docs/examples/block-placeholder", "title": "Block Placeholder Demo", "titleCn": "Block Placeholder" }, { "description": "Copy paste from DOCX to Plate.", "href": "/docs/examples/docx", "title": "Serializing Docx Demo", "titleCn": "Serializing Docx" }, { "description": "Copy paste from HTML to Plate.", "href": "/docs/examples/html", "title": "Serializing HTML Demo", "titleCn": "Serializing HTML" }, { "description": "Copy paste from Markdown to Plate.", "href": "/docs/examples/markdown", "title": "Serializing Markdown Demo", "titleCn": "Serializing Markdown" }, { "description": "Slash command menu for quick insertion of various content types.", "href": "/docs/examples/slash-command", "title": "Slash Command Demo", "titleCn": "Slash Command" }, { "description": "Use plugin rules to customize the common editing behaviors.", "href": "/docs/examples/plugin-rules", "title": "Plugin Rules Demo", "titleCn": "Plugin Rules" }, { "description": "Customizable tables with resizable columns and row merging options.", "href": "/docs/examples/table", "title": "Table Demo", "titleCn": "Table" }, { "description": "Dynamic TOC with in-document element for easy navigation.", "href": "/docs/examples/toc", "title": "Table of Contents Demo", "titleCn": "Table of Contents" }, { "description": "Semantic disclosure blocks with nested body content.", "href": "/docs/examples/details", "title": "Details Demo", "titleCn": "详细信息" } ] } ], "guide": [ { "items": [ { "href": "/docs", "title": "Introduction", "titleCn": "介绍" }, { "href": "/docs/installation", "title": "Installation", "titleCn": "安装" }, { "href": "/docs/releases", "title": "Releases", "titleCn": "版本更新" } ], "title": "Overview", "titleCn": "概览" }, { "items": [ { "href": "/docs/installation/plate-ui", "items": [ { "href": "/docs/installation/next", "title": "Next.js", "titleCn": "Next.js" }, { "href": "/docs/installation/react", "title": "React", "titleCn": "React" } ], "title": "Plate UI", "titleCn": "Plate UI" }, { "href": "/docs/installation/manual", "title": "Manual", "titleCn": "手动安装" }, { "href": "/docs/installation/rsc", "title": "RSC", "titleCn": "RSC" }, { "href": "/docs/installation/node", "title": "Node.js", "titleCn": "Node.js" }, { "href": "/docs/installation/docs", "title": "Local Docs", "titleCn": "本地文档" }, { "href": "/docs/installation/mcp", "title": "MCP", "titleCn": "MCP" } ], "title": "Installation", "titleCn": "安装" }, { "items": [ { "href": "/docs/feature-kits", "title": "Feature Kits", "titleCn": "功能套件" }, { "href": "/docs/upload", "title": "Upload Files", "titleCn": "上传文件" }, { "href": "/docs/plugin", "items": [ { "href": "/docs/plugin-methods", "title": "Plugin Methods", "titleCn": "插件方法" }, { "href": "/docs/plugin-shortcuts", "title": "Plugin Shortcuts", "titleCn": "插件快捷键" }, { "href": "/docs/plugin-context", "title": "Plugin Context", "titleCn": "插件上下文" }, { "href": "/docs/plugin-components", "title": "Plugin Components", "titleCn": "插件组件" }, { "href": "/docs/plugin-rules", "title": "Plugin Rules", "titleCn": "插件规则" }, { "href": "/docs/editing-behavior", "label": "New", "title": "Editing Behavior", "titleCn": "编辑行为" }, { "href": "/docs/plugin-input-rules", "title": "Plugin Input Rules", "label": "New", "titleCn": "插件输入规则" } ], "title": "Plugin", "titleCn": "插件" }, { "href": "/docs/editor", "items": [ { "href": "/docs/editor-methods", "title": "Editor Methods", "titleCn": "编辑器方法" }, { "href": "/docs/controlled", "title": "Controlled Value", "titleCn": "受控值" } ], "title": "Editor", "titleCn": "编辑器" }, { "description": "Record attributed edits, review proposals by change or card, and export explicit projections.", "href": "/docs/authored-changes", "keywords": [ "review", "history" ], "title": "Authored Changes", "titleCn": "Authored Changes" }, { "href": "/docs/performance", "label": "New", "title": "Performance", "titleCn": "性能", "description": "Compare Plate and Slate on a large document." }, { "href": "/docs/static", "title": "Static Rendering", "titleCn": "静态渲染" }, { "description": "HTML ↔ Plate", "href": "/docs/html", "title": "HTML", "titleCn": "HTML" }, { "description": "Markdown ↔ Plate", "href": "/docs/markdown", "title": "Markdown", "titleCn": "Markdown" }, { "href": "/docs/form", "title": "Form", "titleCn": "表单" }, { "href": "/docs/rtl", "keywords": [ "rtl", "arabic", "hebrew", "direction", "bidi" ], "title": "Right-to-left", "titleCn": "从右到左" }, { "href": "/docs/typescript", "title": "TypeScript", "titleCn": "TypeScript" }, { "href": "/docs/debugging", "title": "Debugging", "titleCn": "调试" }, { "href": "/docs/unit-testing", "title": "Unit Testing", "titleCn": "单元测试" }, { "href": "/docs/browser", "title": "Browser", "titleCn": "Browser" }, { "href": "/docs/troubleshooting", "keywords": [ "dependencies" ], "title": "Troubleshooting", "titleCn": "故障排除" }, { "href": "/docs/locations", "title": "Locations", "titleCn": "位置" }, { "href": "/docs/transactions", "title": "Transactions", "titleCn": "事务" }, { "href": "/docs/serializing", "title": "Serializing", "titleCn": "序列化" }, { "href": "/docs/roots", "title": "Roots", "titleCn": "根" }, { "href": "/docs/document-meta", "title": "Document Meta", "titleCn": "文档元数据" }, { "href": "/docs/clipboard", "title": "Clipboard and Paste", "titleCn": "剪贴板与粘贴" }, { "href": "/docs/decorations", "title": "Decorations and annotations", "titleCn": "装饰、注释和浮层" }, { "href": "/docs/schema", "title": "Schema", "titleCn": "Schema" }, { "href": "/docs/history", "title": "History", "titleCn": "撤销与重做" }, { "href": "/docs/pagination", "title": "Pagination", "titleCn": "分页" }, { "href": "/docs/annotations", "title": "Annotations", "titleCn": "注释" }, { "href": "/docs/dom-coverage", "title": "DOM Coverage", "titleCn": "DOM 覆盖" }, { "href": "/docs/external-text", "title": "External Text Views", "titleCn": "外部文本视图" }, { "href": "/docs/virtualized-rendering", "title": "Virtualized Rendering", "titleCn": "虚拟化渲染" } ], "title": "Guides", "titleCn": "指南" }, { "items": [ { "href": "/docs/migration/plite-to-plate", "title": "From Plite to Plate", "titleCn": "从 Plite 到 Plate" } ], "title": "Migration", "titleCn": "迁移" } ], "plugin": [ { "items": [ { "items": [ { "description": "AI menu with commands, streaming responses in a preview or directly into the editor.", "href": "/docs/ai", "keywords": [ "ai" ], "title": "Stream", "titleCn": "Stream" }, { "description": "Render AI suggestions ghost text as you type.", "href": "/docs/copilot", "title": "Copilot", "titleCn": "Copilot", "keywords": [ "ai" ] } ], "title": "AI" }, { "description": "Attach application-owned comment threads to durable editor ranges.", "href": "/docs/comment", "keywords": [ "annotations" ], "title": "Comments", "titleCn": "评论" }, { "description": "Review each block's comments and suggestions in Floating Discussion.", "href": "/docs/discussion", "keywords": [ "collaboration", "review" ], "title": "Discussion", "titleCn": "讨论" }, { "description": "Record native authored changes and review them with copied Plate UI.", "href": "/docs/suggestion", "keywords": [ "editing" ], "title": "Suggestions", "titleCn": "建议" }, { "items": [ { "description": "Enhance your editor with essential formatting elements.", "href": "/docs/basic-blocks", "items": [ { "description": "Create blockquotes to emphasize important information.", "href": "/docs/blockquote", "title": "Blockquote", "keywords": [ "element" ] }, { "description": "Create headings of various levels to structure content.", "href": "/docs/heading", "title": "Heading", "keywords": [ "element" ] }, { "description": "Visually divide and organize content sections with a horizontal line.", "href": "/docs/horizontal-rule", "title": "Horizontal Rule", "keywords": [ "element" ] } ], "title": "Basic Blocks", "titleCn": "Basic Blocks", "keywords": [ "element" ] }, { "description": "Place notes, shapes, arrows, frames and pen lines on a whiteboard block.", "href": "/docs/board", "title": "Board", "titleCn": "白板", "keywords": [ "element", "whiteboard", "canvas" ] }, { "description": "Highlight important information or add special notes.", "href": "/docs/callout", "title": "Callout", "titleCn": "Callout", "keywords": [ "element" ] }, { "description": "Display code with syntax highlighting.", "href": "/docs/code-block", "title": "Code Block", "titleCn": "Code Block", "keywords": [ "element" ] }, { "description": "Add columns to your document.", "href": "/docs/column", "title": "Column", "titleCn": "Column", "keywords": [ "element" ] }, { "description": "Insert and format dates in your document.", "href": "/docs/date", "title": "Date", "titleCn": "Date", "keywords": [ "element" ] }, { "description": "Enables the insertion and rendering of LaTeX equations in your editor.", "href": "/docs/equation", "title": "Equation", "titleCn": "Equation", "keywords": [ "element" ] }, { "description": "Insert and manage hyperlinks.", "href": "/docs/link", "title": "Link", "titleCn": "Link", "keywords": [ "element" ] }, { "description": "Embed medias like videos or tweets into your document.", "href": "/docs/media", "title": "Media", "titleCn": "Media", "keywords": [ "element" ] }, { "description": "Enable autocompletion for user mentions.", "href": "/docs/mention", "title": "Mention", "titleCn": "Mention", "keywords": [ "element" ] }, { "description": "Organize and display data in a structured and resizable tabular format.", "href": "/docs/table", "title": "Table", "titleCn": "Table", "keywords": [ "element" ] }, { "description": "Renders a table of contents element with clickable links to headings in the document.", "href": "/docs/toc", "title": "Table of Contents", "titleCn": "Table of Contents", "keywords": [ "element" ] }, { "description": "Parse and edit GFM footnote references and definitions as dedicated nodes.", "href": "/docs/footnote", "title": "Footnote", "titleCn": "Footnote", "keywords": [ "element" ] }, { "description": "Add semantic disclosure blocks with editable summaries.", "href": "/docs/details", "title": "Details", "titleCn": "详细信息", "keywords": [ "element" ] } ], "title": "Elements", "titleCn": "Elements" }, { "description": "Set of essential text formatting options.", "href": "/docs/basic-marks", "items": [ { "description": "Apply bold formatting to emphasize important text.", "href": "/docs/bold", "title": "Bold", "titleCn": "Bold", "keywords": [ "leaf" ] }, { "description": "Apply italic formatting for emphasis or stylistic purposes.", "href": "/docs/italic", "title": "Italic", "titleCn": "Italic", "keywords": [ "leaf" ] }, { "description": "Apply underline formatting to text.", "href": "/docs/underline", "title": "Underline", "titleCn": "Underline", "keywords": [ "leaf" ] }, { "description": "Format inline code snippets and technical terms.", "href": "/docs/code", "title": "Code", "titleCn": "Code", "keywords": [ "leaf" ] }, { "description": "Highlight important text with background colors.", "href": "/docs/highlight", "title": "Highlight", "titleCn": "Highlight", "keywords": [ "leaf" ] }, { "description": "Display keyboard shortcuts and key combinations.", "href": "/docs/kbd", "title": "Keyboard Input", "titleCn": "Keyboard Input", "keywords": [ "leaf" ] }, { "description": "Apply strikethrough formatting to indicate deleted content.", "href": "/docs/strikethrough", "title": "Strikethrough", "titleCn": "Strikethrough", "keywords": [ "leaf" ] }, { "description": "Format text as subscript for mathematical expressions.", "href": "/docs/subscript", "title": "Subscript", "titleCn": "Subscript", "keywords": [ "leaf" ] }, { "description": "Format text as superscript for mathematical expressions.", "href": "/docs/superscript", "title": "Superscript", "titleCn": "Superscript", "keywords": [ "leaf" ] } ], "title": "Marks", "titleCn": "Marks" }, { "items": [ { "items": [ { "description": "Set font styles to your content.", "href": "/docs/font", "title": "Font" }, { "description": "Adjust the height between lines of text.", "href": "/docs/line-height", "title": "Line Height" }, { "description": "Align your content to different positions.", "href": "/docs/text-align", "title": "Text Align" }, { "description": "Remove text and block styles from a selection.", "href": "/docs/clear-formatting", "title": "Clear Formatting" }, { "description": "Copy the look of one piece of text onto another.", "href": "/docs/format-painter", "title": "Format Painter" } ], "title": "Basic Styles", "titleCn": "Basic Styles" }, { "description": "Customize text indentation.", "href": "/docs/indent", "title": "Indent", "titleCn": "Indent" }, { "description": "Turn any block into a list item.", "href": "/docs/list", "title": "List", "titleCn": "List" } ], "title": "Styles" }, { "items": [ { "items": [ { "description": "Exit a large block using a shortcut.", "href": "/docs/exit-break", "title": "Exit Break" }, { "description": "Restrict the editor to a single block.", "href": "/docs/single-block", "title": "Single Block" }, { "description": "Ensure a trailing block is always present in the document.", "href": "/docs/trailing-block", "title": "Trailing Block" } ], "title": "Utils", "titleCn": "Utils" }, { "description": "Apply formatting automatically using shortcodes.", "href": "/docs/autoformat", "title": "Autoformat", "titleCn": "Autoformat" }, { "description": "Provides quick access to block-specific actions.", "href": "/docs/block-menu", "title": "Block Menu", "titleCn": "Block Menu" }, { "description": "Show placeholder when a block is empty.", "href": "/docs/block-placeholder", "title": "Block Placeholder", "titleCn": "Block Placeholder" }, { "description": "Utilities for adding combobox to your editor.", "href": "/docs/combobox", "items": [ { "description": "Insert emoji inline.", "href": "/docs/emoji", "title": "Emoji" }, { "description": "Enable autocompletion for user mentions.", "href": "/docs/mention", "label": "Element", "title": "Mention" }, { "description": "Slash command menu for quick insertion of various content types.", "href": "/docs/slash-command", "title": "Slash Command" } ], "title": "Combobox", "titleCn": "Combobox" }, { "description": "Allows movement of blocks, such as paragraph or tables, within the editor.", "href": "/docs/dnd", "title": "Drag & Drop", "titleCn": "Drag & Drop" }, { "description": "Flash the landed target after TOC, footnote, search, or custom navigation jumps.", "href": "/docs/navigation-feedback", "title": "Navigation Feedback", "titleCn": "Navigation Feedback" }, { "description": "Check text blocks with your own rules and fix findings from a popover or a list.", "href": "/docs/lint", "title": "Linting", "titleCn": "文本检查" }, { "description": "Maintain a consistent tab order for tabbable elements.", "href": "/docs/tabbable", "title": "Tabbable", "titleCn": "Tabbable" }, { "description": "Add a toolbar to your editor.", "href": "/docs/toolbar", "title": "Toolbar", "titleCn": "Toolbar" }, { "description": "Collaborate with others in a single document.", "href": "/docs/yjs", "title": "Yjs", "titleCn": "Yjs" }, { "description": "A rich multi-select editor.", "href": "/docs/multi-select", "label": "Editor", "title": "Multi Select", "titleCn": "Multi Select" } ], "title": "Functionality" }, { "items": [ { "description": "Paste from Word, import DOCX files, and export to Word.", "href": "/docs/docx", "title": "DOCX", "titleCn": "DOCX" }, { "description": "Copy paste from HTML to Plate.", "href": "/docs/html", "title": "HTML", "titleCn": "HTML" }, { "description": "Copy paste from Markdown to Plate.", "href": "/docs/markdown", "title": "Markdown", "titleCn": "Markdown" } ], "title": "Serializing", "titleCn": "Serializing" } ] } ] }, "docSections": [ { "items": [ { "href": "/docs", "title": "Guides", "titleCn": "指南", "value": "guide" }, { "href": "/docs/plugins", "title": "Plugins", "titleCn": "插件", "value": "plugin" }, { "href": "/docs/components", "title": "Components", "titleCn": "组件", "value": "component" }, { "href": "/docs/examples", "title": "Examples", "titleCn": "示例", "value": "example" }, { "href": "/docs/api", "title": "API Reference", "titleCn": "API 参考", "value": "api" } ] } ], "sections": { "Get Started": "开始", "Installation": "安装", "Guides": "指南", "Plugins": "插件", "Components": "组件", "Examples": "示例", "Migrations": "迁移", "API": "API" }, "items": { "/docs": { "title": "Introduction", "titleCn": "介绍" }, "/docs/installation": { "title": "Installation", "titleCn": "安装" }, "/docs/releases": { "title": "Releases", "titleCn": "版本更新" }, "/docs/installation/plate-ui": { "title": "Plate UI", "titleCn": "Plate UI" }, "/docs/installation/next": { "title": "Next.js", "titleCn": "Next.js" }, "/docs/installation/react": { "title": "React", "titleCn": "React" }, "/docs/installation/manual": { "title": "Manual", "titleCn": "手动安装" }, "/docs/installation/rsc": { "title": "RSC", "titleCn": "RSC" }, "/docs/installation/node": { "title": "Node.js", "titleCn": "Node.js" }, "/docs/installation/docs": { "title": "Local Docs", "titleCn": "本地文档" }, "/docs/installation/mcp": { "title": "MCP", "titleCn": "MCP" }, "/docs/feature-kits": { "title": "Feature Kits", "titleCn": "功能套件" }, "/docs/upload": { "description": "Upload local files with UploadPlugin and the Files SDK.", "keywords": [ "files", "upload", "media" ], "title": "Upload Files", "titleCn": "上传文件" }, "/docs/plugin": { "title": "Plugin", "titleCn": "插件" }, "/docs/plugin-methods": { "title": "Plugin Methods", "titleCn": "插件方法" }, "/docs/plugin-shortcuts": { "title": "Plugin Shortcuts", "titleCn": "插件快捷键" }, "/docs/plugin-context": { "title": "Plugin Context", "titleCn": "插件上下文" }, "/docs/plugin-components": { "title": "Plugin Components", "titleCn": "插件组件" }, "/docs/plugin-rules": { "title": "Plugin Rules", "titleCn": "插件规则" }, "/docs/editing-behavior": { "label": "New", "title": "Editing Behavior", "titleCn": "编辑行为" }, "/docs/plugin-input-rules": { "label": "New", "title": "Plugin Input Rules", "titleCn": "插件输入规则" }, "/docs/editor": { "title": "Editor", "titleCn": "编辑器" }, "/docs/editor-methods": { "title": "Editor Methods", "titleCn": "编辑器方法" }, "/docs/controlled": { "title": "Controlled Value", "titleCn": "受控值" }, "/docs/static": { "title": "Static Rendering", "titleCn": "静态渲染" }, "/docs/rtl": { "title": "Right-to-left", "titleCn": "从右到左" }, "/docs/performance": { "label": "New", "title": "Performance", "titleCn": "性能", "description": "Compare Plate and Slate on a large document." }, "/docs/html": { "description": "Copy paste from HTML to Plate.", "title": "HTML", "titleCn": "HTML" }, "/docs/markdown": { "description": "Copy paste from Markdown to Plate.", "title": "Markdown", "titleCn": "Markdown" }, "/docs/form": { "title": "Form", "titleCn": "表单" }, "/docs/typescript": { "title": "TypeScript", "titleCn": "TypeScript" }, "/docs/debugging": { "title": "Debugging", "titleCn": "调试" }, "/docs/unit-testing": { "title": "Unit Testing", "titleCn": "单元测试" }, "/docs/browser": { "title": "Browser", "titleCn": "Browser" }, "/docs/troubleshooting": { "keywords": [ "dependencies" ], "title": "Troubleshooting", "titleCn": "故障排除" }, "/docs/plugins": { "title": "Overview", "titleCn": "概览" }, "/docs/ai": { "description": "AI menu with commands, streaming responses in a preview or directly into the editor.", "keywords": [ "ai" ], "title": "Stream", "titleCn": "Stream" }, "/docs/copilot": { "description": "Render AI suggestions ghost text as you type.", "keywords": [ "ai" ], "title": "Copilot", "titleCn": "Copilot" }, "/docs/comment": { "description": "Attach application-owned comment threads to durable editor ranges.", "keywords": [ "annotations" ], "title": "Comments", "titleCn": "评论" }, "/docs/discussion": { "description": "Review each block's comments and suggestions in Floating Discussion.", "keywords": [ "collaboration", "review" ], "title": "Discussion", "titleCn": "讨论" }, "/docs/suggestion": { "description": "Record proposed document edits for review.", "keywords": [ "editing" ], "title": "Suggestion", "titleCn": "建议" }, "/docs/basic-blocks": { "description": "Enhance your editor with essential formatting elements.", "keywords": [ "element" ], "title": "Basic Blocks", "titleCn": "Basic Blocks" }, "/docs/blockquote": { "description": "Create blockquotes to emphasize important information.", "keywords": [ "element" ], "title": "Blockquote" }, "/docs/heading": { "description": "Create headings of various levels to structure content.", "keywords": [ "element" ], "title": "Heading" }, "/docs/horizontal-rule": { "description": "Visually divide and organize content sections with a horizontal line.", "keywords": [ "element" ], "title": "Horizontal Rule" }, "/docs/board": { "description": "Place notes, shapes, arrows, frames and pen lines on a whiteboard block.", "keywords": [ "element", "whiteboard", "canvas" ], "title": "Board", "titleCn": "白板" }, "/docs/callout": { "description": "Highlight important information or add special notes.", "keywords": [ "element" ], "title": "Callout", "titleCn": "Callout" }, "/docs/code-block": { "description": "Display code with syntax highlighting.", "keywords": [ "element" ], "title": "Code Block", "titleCn": "Code Block" }, "/docs/column": { "description": "Add columns to your document.", "keywords": [ "element" ], "title": "Column", "titleCn": "Column" }, "/docs/date": { "description": "Insert and format dates in your document.", "keywords": [ "element" ], "title": "Date", "titleCn": "Date" }, "/docs/equation": { "description": "Enables the insertion and rendering of LaTeX equations in your editor.", "keywords": [ "element" ], "title": "Equation", "titleCn": "Equation" }, "/docs/link": { "description": "Insert and manage hyperlinks.", "keywords": [ "element" ], "title": "Link", "titleCn": "Link" }, "/docs/media": { "description": "Embed medias like videos or tweets into your document.", "keywords": [ "element" ], "title": "Media", "titleCn": "Media" }, "/docs/mention": { "description": "Enable autocompletion for user mentions.", "label": "Element", "title": "Mention" }, "/docs/table": { "description": "Organize and display data in a structured and resizable tabular format.", "keywords": [ "element" ], "title": "Table", "titleCn": "Table" }, "/docs/toc": { "description": "Renders a table of contents element with clickable links to headings in the document.", "keywords": [ "element" ], "title": "Table of Contents", "titleCn": "Table of Contents" }, "/docs/footnote": { "description": "Parse and edit GFM footnote references and definitions as dedicated nodes.", "keywords": [ "element" ], "title": "Footnote", "titleCn": "Footnote" }, "/docs/details": { "description": "Add semantic disclosure blocks with editable summaries.", "keywords": [ "element" ], "title": "Details", "titleCn": "详细信息" }, "/docs/basic-marks": { "description": "Set of essential text formatting options.", "title": "Marks", "titleCn": "Marks" }, "/docs/bold": { "description": "Apply bold formatting to emphasize important text.", "keywords": [ "leaf" ], "title": "Bold", "titleCn": "Bold" }, "/docs/italic": { "description": "Apply italic formatting for emphasis or stylistic purposes.", "keywords": [ "leaf" ], "title": "Italic", "titleCn": "Italic" }, "/docs/underline": { "description": "Apply underline formatting to text.", "keywords": [ "leaf" ], "title": "Underline", "titleCn": "Underline" }, "/docs/code": { "description": "Format inline code snippets and technical terms.", "keywords": [ "leaf" ], "title": "Code", "titleCn": "Code" }, "/docs/highlight": { "description": "Highlight important text with background colors.", "keywords": [ "leaf" ], "title": "Highlight", "titleCn": "Highlight" }, "/docs/kbd": { "description": "Display keyboard shortcuts and key combinations.", "keywords": [ "leaf" ], "title": "Keyboard Input", "titleCn": "Keyboard Input" }, "/docs/strikethrough": { "description": "Apply strikethrough formatting to indicate deleted content.", "keywords": [ "leaf" ], "title": "Strikethrough", "titleCn": "Strikethrough" }, "/docs/subscript": { "description": "Format text as subscript for mathematical expressions.", "keywords": [ "leaf" ], "title": "Subscript", "titleCn": "Subscript" }, "/docs/superscript": { "description": "Format text as superscript for mathematical expressions.", "keywords": [ "leaf" ], "title": "Superscript", "titleCn": "Superscript" }, "/docs/font": { "description": "Set font styles to your content.", "title": "Font" }, "/docs/line-height": { "description": "Adjust the height between lines of text.", "title": "Line Height" }, "/docs/text-align": { "description": "Align your content to different positions.", "title": "Text Align" }, "/docs/clear-formatting": { "description": "Remove text and block styles from a selection.", "title": "Clear Formatting" }, "/docs/format-painter": { "description": "Copy the look of one piece of text onto another.", "title": "Format Painter" }, "/docs/indent": { "description": "Customize text indentation.", "title": "Indent", "titleCn": "Indent" }, "/docs/list": { "description": "Turn any block into a list item.", "title": "List", "titleCn": "List" }, "/docs/exit-break": { "description": "Exit a large block using a shortcut.", "title": "Exit Break" }, "/docs/single-block": { "description": "Restrict the editor to a single block.", "title": "Single Block" }, "/docs/trailing-block": { "description": "Ensure a trailing block is always present in the document.", "title": "Trailing Block" }, "/docs/autoformat": { "description": "Apply formatting automatically using shortcodes.", "title": "Autoformat", "titleCn": "Autoformat" }, "/docs/block-menu": { "description": "Provides quick access to block-specific actions.", "title": "Block Menu", "titleCn": "Block Menu" }, "/docs/block-placeholder": { "description": "Show placeholder when a block is empty.", "title": "Block Placeholder", "titleCn": "Block Placeholder" }, "/docs/combobox": { "description": "Utilities for adding combobox to your editor.", "title": "Combobox", "titleCn": "Combobox" }, "/docs/emoji": { "description": "Insert emoji inline.", "title": "Emoji" }, "/docs/slash-command": { "description": "Slash command menu for quick insertion of various content types.", "title": "Slash Command" }, "/docs/selection": { "description": "Read, update, focus, and render text and node selections in Plate.", "title": "Selection", "titleCn": "选择" }, "/docs/dnd": { "description": "Allows movement of blocks, such as paragraph or tables, within the editor.", "title": "Drag & Drop", "titleCn": "Drag & Drop" }, "/docs/navigation-feedback": { "description": "Flash the landed target after TOC, footnote, search, or custom navigation jumps.", "title": "Navigation Feedback", "titleCn": "Navigation Feedback" }, "/docs/lint": { "description": "Check text blocks with your own rules and fix findings from a popover or a list.", "title": "Linting", "titleCn": "文本检查" }, "/docs/tabbable": { "description": "Maintain a consistent tab order for tabbable elements.", "title": "Tabbable", "titleCn": "Tabbable" }, "/docs/toolbar": { "description": "Add a toolbar to your editor.", "title": "Toolbar", "titleCn": "Toolbar" }, "/docs/yjs": { "description": "Collaborate with others in a single document.", "title": "Yjs", "titleCn": "Yjs" }, "/docs/multi-select": { "description": "A rich multi-select editor.", "label": "Editor", "title": "Multi Select", "titleCn": "Multi Select" }, "/docs/docx": { "description": "Paste from Word, import DOCX files, and export to Word.", "title": "DOCX", "titleCn": "DOCX" }, "/docs/components": { "title": "Components", "titleCn": "组件" }, "/docs/components/ai-menu": { "description": "A menu for AI-powered content generation and insertion.", "title": "AI Menu", "titleCn": "AI Menu" }, "/docs/components/ai-toolbar-button": { "description": "A toolbar button for accessing AI features.", "title": "AI Toolbar Button", "titleCn": "AI Toolbar Button" }, "/docs/components/align-toolbar-button": { "description": "A dropdown menu for text alignment controls.", "title": "Align Toolbar Button", "titleCn": "Align Toolbar Button" }, "/docs/components/block-menu": { "description": "A context menu for block-level operations.", "title": "Block Menu", "titleCn": "Block Menu" }, "/docs/components/import-toolbar-button": { "description": "A toolbar button to import editor content from a file.", "title": "Import Toolbar Button", "titleCn": "Import Toolbar Button" }, "/docs/components/export-toolbar-button": { "description": "A toolbar button for exporting editor content in various formats (HTML, PDF, Image, Markdown).", "title": "Export Toolbar Button", "titleCn": "Export Toolbar Button" }, "/docs/components/caption": { "description": "A text field for adding captions to media elements.", "title": "Caption", "titleCn": "Caption" }, "/docs/components/font-color-toolbar-button": { "description": "A color picker toolbar button with text and background color controls.", "title": "Font Color Toolbar Button", "titleCn": "Font Color Toolbar Button" }, "/docs/components/comment-toolbar-button": { "description": "A toolbar button for adding inline comments.", "title": "Comment Toolbar Button", "titleCn": "Comment Toolbar Button" }, "/docs/components/dnd": { "description": "A block wrapper with a drag handle for moving editor blocks.", "title": "Drag and Drop", "titleCn": "Drag and Drop" }, "/docs/components/editor": { "description": "A container for the editor content and styling.", "title": "Editor", "titleCn": "Editor" }, "/docs/components/select-editor": { "description": "An editor to select tags.", "title": "Select Editor", "titleCn": "Select Editor" }, "/docs/components/emoji-toolbar-button": { "description": "An emoji picker toolbar button.", "title": "Emoji Toolbar Button", "titleCn": "Emoji Toolbar Button" }, "/docs/components/fixed-toolbar": { "description": "A fixed toolbar that stays at the top of the editor.", "title": "Fixed Toolbar", "titleCn": "Fixed Toolbar" }, "/docs/components/floating-toolbar": { "description": "A contextual toolbar that appears over selected text.", "title": "Floating Toolbar", "titleCn": "Floating Toolbar" }, "/docs/components/copilot": { "description": "A text suggestion system that displays AI-generated content after the cursor.", "title": "Copilot", "titleCn": "Copilot" }, "/docs/components/history-toolbar-button": { "description": "Toolbar buttons for undo and redo operations.", "title": "History Toolbar Button", "titleCn": "History Toolbar Button" }, "/docs/components/list-toolbar-button": { "description": "A toolbar control for adjusting list indentation.", "title": "List Toolbar Button", "titleCn": "List Toolbar Button" }, "/docs/components/indent-toolbar-button": { "description": "Toolbar controls for block indentation.", "title": "Indent Toolbar Buttons", "titleCn": "Indent Toolbar Buttons" }, "/docs/components/inline-combobox": { "description": "A combobox for inline suggestions.", "title": "Inline Combobox", "titleCn": "Inline Combobox" }, "/docs/components/insert-toolbar-button": { "description": "A menu for inserting different types of blocks.", "title": "Insert Toolbar Button", "titleCn": "Insert Toolbar Button" }, "/docs/components/line-height-toolbar-button": { "description": "A menu for controlling text line spacing.", "title": "Line Height Toolbar Button", "titleCn": "Line Height Toolbar Button" }, "/docs/components/clear-formatting-toolbar-button": { "description": "A toolbar button that clears text and block formatting.", "title": "Clear Formatting Toolbar Button", "titleCn": "Clear Formatting Toolbar Button" }, "/docs/components/format-painter-toolbar-button": { "description": "A toolbar button that copies the look of the selection onto the next text you select.", "title": "Format Painter Toolbar Button", "titleCn": "Format Painter Toolbar Button" }, "/docs/components/link": { "description": "A link element with a floating editing interface.", "title": "Link", "titleCn": "Link" }, "/docs/components/link-toolbar-button": { "description": "A toolbar control for link management.", "title": "Link Toolbar Button", "titleCn": "Link Toolbar Button" }, "/docs/components/mark-toolbar-button": { "description": "A toolbar control for basic text formatting.", "title": "Mark Toolbar Button", "titleCn": "Mark Toolbar Button" }, "/docs/components/media-toolbar": { "description": "A toolbar interface for media settings.", "title": "Media Toolbar", "titleCn": "Media Toolbar" }, "/docs/components/media-toolbar-button": { "description": "Toolbar button for inserting and managing media.", "title": "Media Toolbar Button", "titleCn": "Media Toolbar Button" }, "/docs/components/media": { "description": "Show toast notifications for media uploads.", "title": "Media", "titleCn": "Media" }, "/docs/components/mode-toolbar-button": { "description": "A menu for switching between editor modes and deciding every suggestion.", "title": "Mode Toolbar Button", "titleCn": "Mode Toolbar Button" }, "/docs/components/more-toolbar-button": { "description": "A menu for additional text formatting options.", "title": "More Toolbar Button", "titleCn": "More Toolbar Button" }, "/docs/components/resize-handle": { "description": "A resizable wrapper with resize handles.", "title": "Resize Handle", "titleCn": "Resize Handle" }, "/docs/components/table-toolbar-button": { "description": "A menu for table manipulation and formatting.", "title": "Table Toolbar Button", "titleCn": "Table Toolbar Button" }, "/docs/components/details-toolbar-button": { "description": "A toolbar button for wrapping or unwrapping Details blocks.", "title": "Details Toolbar Button", "titleCn": "详细信息工具栏按钮" }, "/docs/components/turn-into-toolbar-button": { "description": "A menu for converting between different block types.", "title": "Turn Into Toolbar Button", "titleCn": "Turn Into Toolbar Button" }, "/docs/components/remote-cursor-overlay": { "description": "A cursor overlay to display multiplayer cursors in the yjs plugin.", "title": "Remote Cursor Overlay", "titleCn": "Remote Cursor Overlay" }, "/docs/components/toolbar": { "description": "A customizable toolbar component with various button styles and group", "title": "Toolbar", "titleCn": "Toolbar" }, "/docs/components/suggestion-toolbar-button": { "description": "A toolbar button for toggling suggestion mode in the editor.", "title": "Suggestion Toolbar Button", "titleCn": "Suggestion Toolbar Button" }, "/docs/components#node-components": { "title": "Node Components", "titleCn": "节点组件" }, "/docs/components/ai": { "description": "Streaming edits and command menu.", "title": "AI", "titleCn": "AI" }, "/docs/components/block-list": { "description": "List components.", "title": "List", "titleCn": "List" }, "/docs/components/blockquote": { "description": "A quote component for block quotes.", "title": "Blockquote", "titleCn": "Blockquote" }, "/docs/components/callout": { "description": "A callout component for highlighting important information with customizable icons and styles.", "title": "Callout", "titleCn": "Callout" }, "/docs/components/code-block": { "description": "A code block with syntax highlighting and language selection.", "title": "Code Block", "titleCn": "Code Block" }, "/docs/components/code": { "description": "An inline component for code snippets.", "title": "Code", "titleCn": "Code" }, "/docs/components/column": { "description": "Resizable column components for layout.", "title": "Column", "titleCn": "Column" }, "/docs/components/comment": { "description": "Application-owned comment threads attached to durable editor ranges.", "title": "Comments UI", "titleCn": "Comments UI" }, "/docs/components/suggestion": { "description": "A text component for suggestion.", "title": "Suggestion", "titleCn": "Suggestion" }, "/docs/components/date": { "description": "A date field component with calendar picker.", "title": "Date", "titleCn": "Date" }, "/docs/components/math": { "description": "Displays a LaTeX equation element with an editable popover for inputting and rendering mathematical expressions.", "title": "Math", "titleCn": "Math" }, "/docs/components/equation-toolbar-button": { "description": "A toolbar button for inserting and editing equations.", "title": "Equation Toolbar Button", "titleCn": "Equation Toolbar Button" }, "/docs/components/emoji": { "description": "An input component for emoji search and insertion.", "title": "Emoji", "titleCn": "Emoji" }, "/docs/components/excalidraw": { "description": "A drawing component powered by Excalidraw.", "title": "Excalidraw", "titleCn": "Excalidraw" }, "/docs/components/font-size-toolbar-button": { "description": "A toolbar control for adjusting font size.", "title": "Font Size Toolbar Button", "titleCn": "Font Size Toolbar Button" }, "/docs/components/footnote": { "description": "Inline footnote references, definitions, and input UI.", "title": "Footnote", "titleCn": "Footnote" }, "/docs/components/heading": { "description": "A heading with multiple level support.", "title": "Heading", "titleCn": "Heading" }, "/docs/components/highlight": { "description": "A text highlighter with customizable colors.", "title": "Highlight", "titleCn": "Highlight" }, "/docs/components/horizontal-rule": { "description": "A horizontal rule component with focus states.", "title": "Horizontal Rule", "titleCn": "Horizontal Rule" }, "/docs/components/media-image": { "description": "Image element with lazy loading, resizing capabilities, and optional caption.", "title": "Media Image", "titleCn": "Media Image" }, "/docs/components/media-preview-dialog": { "description": "A modal component for previewing and manipulating images.", "title": "Media Preview Dialog", "titleCn": "Media Preview Dialog" }, "/docs/components/kbd": { "description": "A component for styling keyboard shortcuts.", "title": "Keyboard Input", "titleCn": "Keyboard Input" }, "/docs/components/media-audio": { "description": "An audio player component with caption support.", "title": "Media Audio", "titleCn": "Media Audio" }, "/docs/components/media-embed": { "description": "A component for embedded media content with resizing and caption support.", "title": "Media Embed", "titleCn": "Media Embed" }, "/docs/components/media-file": { "description": "A file attachment component with download capability and caption.", "title": "Media File", "titleCn": "Media File" }, "/docs/components/media-video": { "description": "A video player component with YouTube and file upload support.", "title": "Media Video", "titleCn": "Media Video" }, "/docs/components/mention": { "description": "A mention element with customizable prefix and label, powered by a combobox.", "title": "Mention", "titleCn": "Mention" }, "/docs/components/paragraph": { "description": "A paragraph block with background color support.", "title": "Paragraph", "titleCn": "Paragraph" }, "/docs/components/find": { "description": "Search editable text with transient highlights and keyboard navigation.", "title": "Find", "titleCn": "查找" }, "/docs/components/lint": { "description": "Lint kit with example rules, severity underlines and a caret popover with fixes.", "title": "Lint", "titleCn": "文本检查" }, "/docs/components/slash": { "description": "A command input component for inserting various elements.", "title": "Slash Command", "titleCn": "Slash Command" }, "/docs/components/table": { "description": "A table component with floating toolbar and border customization.", "title": "Table", "titleCn": "Table" }, "/docs/components/toc": { "description": "A table of contents component with links to document headings.", "title": "Table of Contents", "titleCn": "Table of Contents" }, "/docs/components/details": { "description": "A semantic disclosure block with an editable summary.", "title": "Details", "titleCn": "详细信息" }, "/docs/examples": { "title": "Overview", "titleCn": "概览" }, "/docs/examples/html-export": { "description": "Export editor content to HTML.", "title": "HTML Export", "titleCn": "HTML 导出" }, "/docs/examples/export": { "description": "Export a Plate document to a file.", "title": "Export", "titleCn": "导出" }, "/docs/examples/server-side": { "description": "Server-side rendering.", "title": "Server-Side", "titleCn": "服务端" }, "/docs/examples/version-history": { "description": "Show a diff of two different points in a Plate document's history.", "title": "Version History", "titleCn": "版本历史" }, "/docs/examples/editable-voids": { "title": "Editable Voids Demo", "titleCn": "Editable Voids" }, "/docs/examples/huge-document": { "description": "Compare Plate and Plate on a large document.", "title": "Huge Document", "titleCn": "大型文档" }, "/docs/examples/hundreds-editors": { "description": "Render hundreds of editors.", "title": "Hundreds Editors", "titleCn": "数百个编辑器" }, "/docs/examples/markdown-streaming": { "description": "Streaming markdown to editor.", "title": "Markdown Streaming", "titleCn": "Markdown 流式" }, "/docs/examples/preview-markdown": { "description": "Decorate texts with markdown preview.", "title": "Preview Markdown", "titleCn": "Markdown 预览" }, "/docs/examples/collaboration": { "description": "Collaborative editing.", "title": "Collaboration Demo", "titleCn": "协作演示" }, "/docs/examples/table-nomerge": { "title": "Table Nomerge Demo", "titleCn": "Table Nomerge" }, "/docs/examples/excalidraw": { "description": "A drawing component powered by Excalidraw.", "title": "Excalidraw Demo", "titleCn": "Excalidraw" }, "/docs/examples/single-block": { "description": "Restrict the editor to a single block.", "title": "Single Block Demo", "titleCn": "Single Block" }, "/docs/examples/find": { "description": "Find text with keyboard navigation and transient highlights.", "title": "Find Demo", "titleCn": "查找" }, "/docs/examples/lint": { "description": "Lint a document with local and server rules, a findings list and fixes.", "title": "Lint Demo", "titleCn": "文本检查", "label": "New" }, "/docs/examples/ai": { "description": "AI menu with commands, streaming responses in a preview or directly into the editor.", "title": "AI Demo", "titleCn": "AI" }, "/docs/examples/align": { "description": "Text alignment controls for blocks.", "title": "Align Demo", "titleCn": "Align" }, "/docs/examples/autoformat": { "description": "Apply formatting automatically using shortcodes.", "title": "Autoformat Demo", "titleCn": "Autoformat" }, "/docs/examples/basic-nodes": { "description": "Basic block elements and text marks.", "keywords": [ "element", "leaf" ], "title": "Basic Nodes Demo", "titleCn": "Basic Nodes" }, "/docs/examples/block-menu": { "description": "Block-level context menu with formatting options.", "title": "Block Menu Demo", "titleCn": "Block Menu" }, "/docs/examples/node-selection": { "description": "Visual multi-node selection backed by editor state.", "title": "Node Selection Demo", "titleCn": "Node Selection" }, "/docs/examples/column": { "description": "Column layout.", "title": "Column Demo", "titleCn": "Column" }, "/docs/examples/code-block": { "description": "Display code with syntax highlighting.", "title": "Code Block Demo", "titleCn": "Code Block" }, "/docs/examples/callout": { "description": "Display callouts with different variants and icons.", "title": "Callout Demo", "titleCn": "Callout" }, "/docs/examples/discussion": { "description": "Review each block's comments and suggestions in Floating Discussion.", "title": "Discussion Demo", "titleCn": "讨论演示" }, "/docs/examples/date": { "description": "Inline date elements with calendar selection interface.", "title": "Date Demo", "titleCn": "Date" }, "/docs/examples/footnote": { "description": "GFM footnote references and definitions as dedicated editor nodes.", "title": "Footnote Demo", "titleCn": "Footnote" }, "/docs/examples/dnd": { "description": "Implements draggable functionality for editor blocks, including drag handles and drop indicators.", "title": "Drag & Drop Demo", "titleCn": "Drag & Drop" }, "/docs/examples/emoji": { "description": "Emoji insertion via toolbar or colon-triggered combobox.", "title": "Emoji Demo", "titleCn": "Emoji" }, "/docs/examples/equation": { "description": "LaTeX equations with inline and block formats.", "title": "Equation Demo", "titleCn": "Equation" }, "/docs/examples/exit-break": { "description": "Exit a large block using a shortcut.", "title": "Exit Break Demo", "titleCn": "Exit Break" }, "/docs/examples/floating-toolbar": { "description": "Floating toolbar with text formatting and AI assistance options.", "title": "Floating Toolbar Demo", "titleCn": "Floating Toolbar" }, "/docs/examples/font": { "description": "Color picker for text and background colors.", "title": "Font Demo", "titleCn": "Font" }, "/docs/examples/indent": { "title": "Indent Demo", "titleCn": "Indent" }, "/docs/examples/list": { "description": "Turn any block into a list item.", "title": "List Demo", "titleCn": "List" }, "/docs/examples/line-height": { "description": "Line height adjustment controls.", "title": "Line Height Demo", "titleCn": "Line Height" }, "/docs/examples/clear-formatting": { "description": "Clear text and block styles from a selection.", "title": "Clear Formatting Demo", "titleCn": "Clear Formatting" }, "/docs/examples/format-painter": { "description": "Copy the look of one piece of text onto another.", "title": "Format Painter Demo", "titleCn": "Format Painter" }, "/docs/examples/link": { "description": "Hyperlinks with toolbar insertion and URL pasting support.", "title": "Link Demo", "titleCn": "Link" }, "/docs/examples/media": { "description": "Media embedding and management.", "title": "Media Demo", "titleCn": "Media" }, "/docs/examples/mention": { "description": "Mention functionality for referencing users or entities.", "title": "Mention Demo", "titleCn": "Mention" }, "/docs/examples/block-placeholder": { "title": "Block Placeholder Demo", "titleCn": "Block Placeholder" }, "/docs/examples/docx": { "description": "Copy paste from DOCX to Plate.", "title": "Serializing Docx Demo", "titleCn": "Serializing Docx" }, "/docs/examples/html": { "description": "Copy paste from HTML to Plate.", "title": "Serializing HTML Demo", "titleCn": "Serializing HTML" }, "/docs/examples/markdown": { "description": "Copy paste from Markdown to Plate.", "title": "Serializing Markdown Demo", "titleCn": "Serializing Markdown" }, "/docs/examples/slash-command": { "description": "Slash command menu for quick insertion of various content types.", "title": "Slash Command Demo", "titleCn": "Slash Command" }, "/docs/examples/plugin-rules": { "description": "Use plugin rules to customize the common editing behaviors.", "title": "Plugin Rules Demo", "titleCn": "Plugin Rules" }, "/docs/examples/table": { "description": "Customizable tables with resizable columns and row merging options.", "title": "Table Demo", "titleCn": "Table" }, "/docs/examples/toc": { "description": "Dynamic TOC with in-document element for easy navigation.", "title": "Table of Contents Demo", "titleCn": "Table of Contents" }, "/docs/examples/details": { "description": "Semantic disclosure blocks with nested body content.", "title": "Details Demo", "titleCn": "详细信息" }, "/docs/migration/plite-to-plate": { "title": "From Plite to Plate", "titleCn": "从 Plite 到 Plate" }, "/docs/api": { "title": "Overview", "titleCn": "概览" }, "/docs/api/plate": { "description": "Plate API.", "title": "Plate" }, "/docs/api/editor-api": { "title": "Editor API", "titleCn": "编辑器 API" }, "/docs/api/editor-transforms": { "title": "Editor Transforms", "titleCn": "编辑器事务" }, "/docs/api/node": { "title": "Node", "titleCn": "节点" }, "/docs/api/element": { "title": "Element", "titleCn": "元素" }, "/docs/api/text": { "title": "Text", "titleCn": "文本" }, "/docs/api/path": { "title": "Path", "titleCn": "路径" }, "/docs/api/point": { "title": "Point", "titleCn": "点" }, "/docs/api/range": { "title": "Range", "titleCn": "范围" }, "/docs/api/location": { "title": "Location", "titleCn": "位置" }, "/docs/api/anchor": { "title": "Anchor", "titleCn": "锚点" }, "/docs/api/document-change": { "title": "Document Change", "titleCn": "文档变更" }, "/docs/api/core": { "description": "Core utilities for Plate.", "title": "Plate Core", "titleCn": "Plate 核心" }, "/docs/api/core/plate-components": { "title": "Plate Components", "titleCn": "Plate 组件" }, "/docs/api/core/plate-editor": { "title": "Plate Editor", "titleCn": "Plate 编辑器" }, "/docs/api/core/plate-plugin": { "title": "Plate Plugin", "titleCn": "Plate 插件" }, "/docs/api/core/plate-store": { "title": "Editor Context", "titleCn": "编辑器上下文" }, "/docs/api/core/plate-controller": { "title": "Plate Controller", "titleCn": "Plate 控制器" }, "/docs/api/utils": { "description": "Additional utilities for Plate.", "title": "Plate Utils", "titleCn": "Plate 工具" }, "/docs/api/resizable": { "description": "API reference for platejs/react", "title": "Resizable", "titleCn": "Resizable" }, "/docs/locations": { "title": "Locations", "titleCn": "位置" }, "/docs/transactions": { "title": "Transactions", "titleCn": "事务" }, "/docs/serializing": { "title": "Serializing", "titleCn": "序列化" }, "/docs/roots": { "title": "Roots", "titleCn": "根" }, "/docs/document-meta": { "title": "Document Meta", "titleCn": "文档元数据" }, "/docs/clipboard": { "title": "Clipboard and Paste", "titleCn": "剪贴板与粘贴" }, "/docs/decorations": { "title": "Decorations and annotations", "titleCn": "装饰、注释和浮层" }, "/docs/schema": { "title": "Schema", "titleCn": "Schema" }, "/docs/history": { "title": "History", "titleCn": "撤销与重做" }, "/docs/pagination": { "title": "Pagination", "titleCn": "分页", "experimental": true }, "/docs/annotations": { "title": "Annotations", "titleCn": "注释" }, "/docs/dom-coverage": { "title": "DOM Coverage", "titleCn": "DOM 覆盖" }, "/docs/external-text": { "title": "External Text Views", "titleCn": "外部文本视图" }, "/docs/virtualized-rendering": { "title": "Virtualized Rendering", "titleCn": "虚拟化渲染" }, "/docs/api/selection": { "title": "Selection", "titleCn": "选择" }, "/docs/api/dom": { "title": "DOM API", "titleCn": "DOM API" }, "/docs/api/react-hooks": { "title": "React Hooks", "titleCn": "React Hooks" }, "/docs/plite/libraries/plite-pagination": { "title": "Plite Pagination", "experimental": true } } } }