Heuristic:0xranx OpenContext Warning Deprecated Plate Editor
| Knowledge Sources | |
|---|---|
| Domains | Editor, Deprecation, Migration |
| Last Updated | 2026-10-24 00:00 GMT |
Overview
Deprecation warning: the PlateJS editor subsystem has been replaced by Tiptap and its import is commented out in the main App component.
Description
The PlateMarkdown.jsx component and all its dependent editor modules (keyboardHandlers, clipboardHandlers, markdownRules, nodeTypes, CodeBlockElement, SlashMenu, Toolbars, listCompatNormalize) form the legacy PlateJS-based markdown editor. In App.jsx, the Plate import is commented out (line 19) and replaced by TiptapMarkdownEditor/TiptapMarkdownViewer from TiptapMarkdown.jsx (line 17, marked "migrated from PlateJS"). The Tiptap editor now serves all document editing and viewing in the desktop and mobile UI. The Plate editor code remains in the repository but is dead code — no active import path reaches it.
Usage
Treat all pages linked to this heuristic as documenting legacy/deprecated code. Do not extend or build upon these modules. For new editor work, use the Tiptap-based equivalents (TiptapMarkdown, TiptapSlashMenu, Tiptap_CodeBlockComponent, etc.). These pages are retained for historical reference and to document the migration boundary.
The Insight (Rule of Thumb)
- Action: Do not import or extend PlateJS editor modules. Use Tiptap equivalents instead.
- Value: The migration is complete —
App.jsximportsTiptapMarkdownEditor/TiptapMarkdownViewer, notPlateMarkdownEditor/PlateMarkdownViewer. - Trade-off: The Plate editor pages are kept for reference but represent dead code paths.
- Compatibility: All 9 Plate editor files are only imported by
PlateMarkdown.jsx, which itself is no longer imported anywhere.
Reasoning
The migration from PlateJS to Tiptap is visible in src/ui/src/App.jsx:
// Line 17 (active):
import { TiptapMarkdownEditor, TiptapMarkdownViewer } from './components/TiptapMarkdown';
// Line 19 (commented out):
// import { PlateMarkdownEditor, PlateMarkdownViewer } from './components/PlateMarkdown';
The comment on line 16 explicitly states "Tiptap Editor (migrated from PlateJS)". The PlateMarkdown.jsx file (1548 lines) and its 8 dependent modules total ~3000 lines of editor code that no active import path reaches. These are retained in the repository as a fallback reference but should not be extended.
Related Pages
- Implementation:0xranx_OpenContext_PlateMarkdown_Editor
- Implementation:0xranx_OpenContext_Keyboard_Handlers
- Implementation:0xranx_OpenContext_Markdown_Rules
- Implementation:0xranx_OpenContext_CodeBlockElement
- Implementation:0xranx_OpenContext_Plate_SlashMenu
- Implementation:0xranx_OpenContext_Plate_Toolbars
- Implementation:0xranx_OpenContext_ListCompatNormalize
- Implementation:0xranx_OpenContext_Clipboard_Handlers
- Implementation:0xranx_OpenContext_Node_Types