platejs
Bug Fixes
-
- Move a comment thread with its text when a drag moves all of that text, and back again on undo. A drag of part of the text leaves the thread on the part that stays. Undoing a drag and the thread's creation, then redoing both, puts the thread back on its text. (
dee395d)
- Move a comment thread with its text when a drag moves all of that text, and back again on undo. A drag of part of the text leaves the thread on the part that stays. Undoing a drag and the thread's creation, then redoing both, puts the thread back on its text. (
-
- Add
fillsField(field, value)toplatejs/fieldto check whether a value fills a field.required, thefilledandblankconditions and the refusal of an answer on a skipped field all use it. A checkbox fills only when ticked. A text or signature answer needs a character other than whitespace. Any other field needs a value of its kind. (dca432b)
- Add
-
- Fix the ink layer holding the outline of each removed pen mark in memory while undo history can still restore that mark (
d2af1ef)
- Fix the ink layer holding the outline of each removed pen mark in memory while undo history can still restore that mark (
-
- Fix Markdown copied from VS Code pasting as a Markdown code block; it now pastes as headings, lists and marks (
4081ba8)
- Fix Markdown copied from VS Code pasting as a Markdown code block; it now pastes as headings, lists and marks (
-
Paste code copied from VS Code as a code block at the caret, replacing an empty block, instead of after the current block
-
Paste text copied from a plain-text file in VS Code as plain text instead of a code block
plitejs
Bug Fixes
-
- Keep a range anchor made with
deletion: 'nearest'on its text when a drag moves all of that text within one root, instead of leaving it collapsed where the text was. Undo and redo move it back and forth. A drag of part of the range leaves the anchor on the part that stays, unless the drop rebuilds the block that holds that part. A Suggesting move keeps the anchor on the struck original until the move is decided. A copy, a drag into another editor or root and an editor bound to Yjs orplitejs/syncmap the range as before. (dee395d)
- Keep a range anchor made with
@platejs/test
Bug Fixes
-
- Fix
clipboard.pasteTextandclipboard.pasteHtmlin@platejs/test/playwrightto pass a paste that a later commit follows, such as a paste rule's, and to fail a paste that landed in another editor root. Use@platejs/testwith theplatejsrelease of the same version. (8bee987)
- Fix
Plate UI
Show an answer-conflict refusal with the field name and the labels of its fields, when the fields of one name hold different answers.
- Update the copied
field-demo, becauseFieldRefusalgainsanswer-conflict, which listsfieldIdsinstead of onefieldId.
Plate UI
Show a warning on each chip of a name whose fields differ in kind, options or condition, and on each chip of a name whose fields hold different answers.
- Update the copied
fieldcomponent, becauseFieldProblemgainsname-conflictandanswer-conflictand aRecord<FieldProblem, string>needs both keys.
Plate UI
Add a Name input to the field settings. It keeps what you type and writes the name on blur, on Enter or when the settings close, and removes the name when emptied. A name the rule refuses, such as one with a space at either end or a tab, stays in the input with an error, and the settings stay open until it changes. The Show when list shows each named field's name beside its label, and an answer the editor refuses shows Not saved.
- Update
platejswith the copiedfieldcomponent, because its Name input writes the field'sname, which older versions refuse.
Name every field of the lease, and ask for the tenant's name again beside the tenant's signature, so typing it in one place fills the other.
- Update
platejswith the copied lease value, because every field in it now has aname, which older versions refuse on load.
Plate UI
Turn Draw into a split button whose menu picks the pen, the highlighter, the eraser or the lasso, and whose main part turns Draw on with the last tool picked or off.
Add a toolbar toggle that hides or shows every ink mark and sign, with Draw on or off.
Show the ink tools and the ink switch in the demo toolbar.
Plate UI
The editor's selection, block selection, drop line and focus ring, the inline equation and table cell highlights, and the code block selection use the Tailwind color editor-primary instead of brand. The text caret outside code blocks uses editor-primary instead of primary, and so do the hover and selected highlights of block equations, live and static. plate-ui adds --color-editor-primary: var(--editor-primary, var(--primary)) to your theme, so the editor follows your shadcn --primary until you set --editor-primary. Plate no longer reads --brand.
- Components you copied before this change still read
brand. Add each of them again withshadcn add --overwrite, which replaces any edits you made to those files. Plate no longer reads--brandor--color-brand, but your own components or stylesheets may, so keep both while anything in your app reads them. To give the editor a color apart from--primary, set--editor-primaryin a:rootrule of your own, and in.darkfor a separate dark value.
Editor sets the caret and text selection colors instead of EditorContainer, so an editor rendered without the container keeps them.
- A caret color or
selection:class you set onEditorContainerno longer reaches the text. Set it onEditorinstead.
The Send button of a comment being edited uses your primary button colors, and its Cancel button uses your muted colors.
The suggesting button shows its on state as a pressed toolbar button.
Plate UI
Show each field's answer in place: a choice as its option's label, a checkbox as a ticked or empty box and a number as written, 0 included. Any field other than a checkbox shows a blank line instead of its label when it has no filled answer. HTML, Word and plain-text export still write their own text, such as an unanswered field's label in brackets.
Mute a chip and mark it skipped while its field's condition fails, so a person sees which answers the form does not need.
The landlord now answers whether pets are allowed. The tenant's pet name is required when pets are allowed and skipped when they are not. Submit checks the current role's answers with applyFieldValues, after the answers of the roles that submitted before it, and shows the refusals or the static output of the filled document. A role's submitted answers count while the template and that role's answers still match what was checked. They stop counting once an earlier role's answers do. When they stop counting, a role whose field depends on them is refused as waiting until the role that gave them submits again. A result stays on screen only until the document changes.
Plate UI
Stop Base UI from logging a native button error when a menu trigger renders a non-button element, such as the anchor of the block, row and column handle menus.
Plate UI
On a screen whose primary pointer is coarse, such as a phone or tablet, render the toolbar as a bar above the on-screen keyboard while the editor has focus, so it no longer covers the phone's own selection menu. The bar scrolls the caret above itself when it would cover it. Mouse and trackpad screens keep the floating toolbar.
Plate UI
Adding one of these components on its own now installs plate-ui, which defines the editor color they read. Before, a lone shadcn add @plate/editor left the editor's selection tint without a color.
Plate UI
Embed a YouTube, Vimeo, Dailymotion, Youku, Coub or X link pasted alone on an empty line, above that line, through MediaEmbedRules.autoEmbed({ variant: 'paste' }). One undo gives back what was pasted.
Plate UI
Keep the AI menu and its draft open when the editor refuses Accept or Insert below, such as while a field fill role is set. Focus moves to the editor only once the menu closes.
Plate UI
Keep a block visible beside its Continue writing draft when its text was typed into it while it was empty, such as 12 in a new bullet.
Plate UI
Add an Export menu to the board toolbar that saves the board, or its selected shapes, as board.png or board.svg, or copies it to the clipboard as a PNG or as SVG text. Add board-static.tsx, whose BoardPictureKit draws each shape in the picture. The menu shows its notices for images, fonts and shapes the picture could not draw, and for an empty board, through sonner. When you update a copied board, copy board-static.tsx and the static items it imports, add the sonner dependency, and mount one <Toaster /> in your app.
Draw a task's checkbox with your registry style's checkbox classes, so a picture or static render of a task list draws the checkbox the editor draws.
Copy your page's body classes onto the exported document, so a style your CSS scopes under a body class draws in the preview and the saved file. Keep the document's doctype, so the saved file renders in standards mode.
Plate UI
Show a warning on each chip of a loop of conditions, such as A naming B while B names A. The Show when list offers no field whose conditions lead back to the field being edited, and keeps the field its condition already names. Always clears the condition even when a field has an empty id.
- Update the copied
fieldcomponent, becauseFieldProblemgainscondition-loopand aRecord<FieldProblem, string>needs that key.
Plate UI
While FieldPlugin's fillRole names a role, each chip shows its field's answer, or its label when it has none. A choice shows its option's label, and a checkbox shows a ticked or empty box. The role's own chip opens a popover with an input for the answer and a Clear button, and the role's checkbox ticks and unticks on click. Another role's chip opens nothing. The role's chip whose answer holds a pending suggestion says it waits for review and opens nothing until someone accepts or rejects it. When an answer is not stored, as when the editor refuses it or another author proposed deleting the field, the popover says "Not saved." and the input shows the stored answer. A refused checkbox says "Not saved." beside its chip. No chip drags, and an open popover closes when the role changes or the editor turns read-only.
Keep the caret and the typed spelling, such as 1.0, in a field's inputs while the change lands. Keep a number or date typed in part in its input without writing it, -0 included, so the stored answer, default or compared value stays until the entry is complete. Drop that entry from the input once the input loses focus. Unset an answer or default when its input is emptied. Keep a condition's compared value when its input is emptied, unless it compares text, which then compares with the empty string. Offer no None for a condition's compared choice. Show a newer answer that arrives while its input has focus, and drop a partial entry when the field's kind changes. Let a choice option whose value is the empty string be picked, apart from None. Render the chip itself as its popover's trigger, so the Base UI install no longer puts one button inside another.
Disable the insert menu while FieldPlugin's fillRole names a role, and close an open menu when the role changes or the editor turns read-only.
Add a switch between Author, Fill as landlord and Fill as tenant, which sets FieldPlugin's fillRole.
Plate UI
Show the text of a whole inserted or deleted block under its Insertion or Deletion heading.
Plate UI
Show a check next to the current choice in the Turn into, line height and editing mode menus.
Keep the floating toolbar inside the editor when the selection sits near its edge, so every button stays reachable on a phone.
Plate UI
Focus the new definition when Create definition in a reference's hover card, or a Cmd-click or Ctrl-click on an unresolved reference, adds it. Before, the caret stayed outside an editor that had no focus, and the next typing was lost.
Plate UI
Install RawHtmlPlugin beside MarkdownPlugin. Raw HTML in a Markdown file, such as a README's centered header, now saves back as HTML when its block passes Plate's safety check, instead of as escaped text. Most HTML comments on lines of their own, such as <!-- markdownlint-disable -->, save back instead of dropping when they sit in the document, a block quote or a list item.
- Upgrade
platejsto a release that exportsRawHtmlPluginfromplatejs/markdownbefore you copy the new kit. - If your editor builds its own plugin list instead of using
MarkdownKit, addRawHtmlPluginfromplatejs/markdownbesideMarkdownPlugin. - A document the kit saves can hold the
rawHtmlmark, so addRawHtmlPluginto every other editor that opens it, such as a server renderer. RawHtmlPluginchanges the kit's schema fingerprint. If your app saves documents under a named schema, increment itsversion, add a migration step that returns the document unchanged, and register the earlier version's fingerprint insourceFingerprints, as the Document migrations section of the editor guide shows.- The new kit refuses to join a Yjs room that the earlier kit created, with
Yjs schema mismatch, orYjs derived schema mismatchwhen your app declares noschema. Move each room's document to a new room. Under a named schema, migrate it as the Yjs rooms section of the board guide shows. Under the default derived identity, seed the new room with the document that an editor with the earlier kit reads. - If your app saves
{ document, schema }under the default derived identity, the new fingerprint no longer matches the saved one. Load each saved document in an editor with the earlier kit and pass itsread.value()to the new editor. - Undo history that your app saved with the earlier kit no longer loads, and
History.fromJSONthrowsHistory schema mismatch. Discard that history, or migrate it offline before the new kit loads it. - If your app already declares its own
rawHtmlmark, keep that plugin and leaveRawHtmlPluginout of the kit, because two plugins cannot own one mark.
Plate UI
Start a YouTube embed at the time its link names, such as t=1m30s.
Refuse an embed link from a host the embed component cannot play, and say which providers it can.
Plate UI
Show one Replace line for a deletion and the insertion that replaces it, even across a link's edge or two edits. Show one line for a format change the card repeats, read a deletion inside a block the card also deletes in that block's line, and update an open suggestion card when the text beside it changes.
Plate UI
Name a suggestion that adds or deletes whole columns, rows or a table as "Add column", "Delete 2 rows" or "Delete table" on its card.
Hide the column resize handles while Suggesting, and in Editing while a column width suggestion waits.
Plate UI
Move the board's colors, stroke widths, text sizes, shape outlines and arrowhead into board-styles.tsx, which the board installs beside board.tsx. Copy the new file when you update a copied board.
Plate UI
Focus the new comment when Cmd+Shift+M opens it on text whose discussion cards are open, so typing goes to the comment instead of replacing the selected text.
List each property change of a suggestion once, even after typing splits the formatted text. Disable the card's Accept, Reject and related buttons while the editor is read-only.
Put the actions of a new comment and of a comment edit in the field's row as 24 px buttons, so they share one height and one center line.
Plate UI
Fix gray text and tints that ignored the base color picked in shadcn create. The empty table of contents, the new-label value and the empty equation now use theme colors.
Fix the nested block gutter and the static table cell borders in projects with a Tailwind prefix. The CLI now prefixes their classes.
Plate UI
Show the open Find bar above the text instead of over it, and keep it at the top while the editor scrolls. Moving to a match scrolls the match clear of the bar.
Plate UI
Show a Find button where the Find bar opens, so a touch screen without Mod+F can open Find. The demo text names the button.
Plate UI
Keep an inline equation's input closed when undo takes back its save, so later undos keep working.
Plate UI
Make each todo checkbox click its own undo step, so undo after a quick check and uncheck brings the check back.
Plate UI
The slash, mention and emoji menus now follow the menu color picked in shadcn create. An inverted menu color turns them dark, and a translucent one gives them the same translucent, blurred background as the app's other menus.
Plate UI
Fix the button label, which read Text instead of Code with the caret in a code block.
Add the discussion kit, so the floating toolbar shows the Comment button its text describes.
Install the playground demo, whose document shows its suggestion marks and starter comments.
Plate UI
Add FieldKit, which installs FieldPlugin with FieldElement. The chip shows a field's label, an asterisk when it is required, its role, and a warning when useFieldRead reports a problem, such as a condition whose field was deleted. A click opens a popover for the field's label, kind, role, required flag, default, choice options and a Show when condition on another field. The role input offers the roles the document's fields already use. Installing field also installs field-toolbar-button.
Add BaseFieldKit, which renders each field's answer, a choice as its option's label, or the field's label when it has no answer.
Add FieldToolbarButton, a menu that inserts a text, number, date, checkbox, choice or signature field. A new field takes the role of the document's first field, or signer in a document with no field.
Add an example of a lease template for a landlord and a tenant, with a fee table, that shows its HTML, its Markdown and what Word export drops.
Plate UI
Disable each item the caret's parent cannot hold, read through editor.read.schema.canPlace and, for the heading levels, BaseHeadingPlugin's read.canSetLevel. With the caret in a board note, Turn into disables Quote, Details, Code and 3 columns, and Insert disables Table, Code, Quote, Divider and the other blocks a note cannot hold, while Text, Paragraph, the headings and the lists stay enabled. Over page text every item stays enabled.
Plate UI
The button now writes Viewing through setEditorViewing alone, for every editor useEditor() returns. Choosing Editing no longer lifts a lock the app set on an editor view, such as one an EditorProvider hands the button, and the button shows Viewing while that lock holds.
Plate UI
Add PromptEditor, a message field for a chat form that takes the place of a text area. Typing @ opens a menu of the app's items, and a picked item becomes a chip. Enter presses the form's Send button and does nothing while that button is disabled, Shift+Enter breaks the line, and Enter while an input method composes sends nothing. The message is the typed text with each chip as <mention ref="…">label</mention>, read through value and onChange or under name in the form's data. A pasted or dropped file goes to onFiles and never into the text. The demo is a chat form that sends through the AI SDK.
Plate UI
Fix AI comments and table edits ending with a "Could not generate comments" error after they land: the comment and table tools now return a result.
Plate UI
Read an AI comment's quote with parseSlice, so a quote that opens with a --- line keeps every line in the comment's excerpt now that a document parse reads a leading front matter block. A schema whose first block must be a heading no longer gives the excerpt a leading empty line.
Plate UI
Install the browser upload kit after EditorKit, so a picture file pasted, dropped or picked on the board uploads in the page and needs no upload server.
Plate UI
Add an image button at the end of the board toolbar's tools. It opens a file picker for pictures and uploads each picked file as an image shape, in a row centered on the view. The button is disabled on a board that takes no picture files, such as a read-only board or an editor without upload or without BoardImageKit. The board now depends on use-file-picker.
Fix the board toolbar cutting off its end buttons on a narrow board. A group wider than the board now wraps its buttons, so a phone shows every control. The tool lock moves into the tools group, before the image button.
Plate UI
The floating toolbar, the link toolbar and the AI menu render in the new caret slot, so they follow the caret into a board note inside the page and act on the note. A toolbar of another EditorContent, such as a header, stays on its own content while the caret is in the body or its note. In a note, the floating toolbar now shows the same buttons as on the page.
Plate UI
Color highlighted code through --syntax-* CSS variables with light and dark values, such as --syntax-keyword and --syntax-string, which the new code-syntax-style item adds to your stylesheet. Change a variable once to restyle the editor, the CodeMirror view and static output. Built-in names such as Python's str now take the built-in color, and language names such as console and this, template tags and template variables take the keyword color. Every syntax color reads at a contrast of 4.5:1 or more on the code block in light and dark mode, and Markdown list bullets get their own dark color.
- Copying the new code-block or code-block-static by hand also needs the code-syntax-style variables in your stylesheet; the shadcn CLI adds them.
Fix Word export code colors that differed from the editor. Code in a Word file uses the light values of the syntax variables, including the diff background colors and the comment color for inline code in Markdown. Every code color reads at a contrast of 4.5:1 or more on the gray code background.
Plate UI
Add CodeMirror's line, comment and bracket keys. Alt+Up and Alt+Down move the current line, and Shift+Alt+Up and Shift+Alt+Down copy it. Mod+/ toggles a line comment in the block's language. Shift+Mod+\ moves the caret to the matching bracket, and CodeMirror highlights the bracket pair beside the caret. A typed bracket or quote inserts its closer, and Backspace between an empty pair deletes both. Plate's history records each of these edits, so Mod+Z undoes it. The component imports @codemirror/autocomplete.
Plate UI
Drop the EditorSelectionView wrapper, which platejs/react no longer exports. The fixed toolbar already acts on the root that holds the caret, and the floating toolbar and the AI menu render in the caret slot, so they act on a board note's text without it. Over note text, the floating toolbar shows the same buttons as over page text.
Plate UI
Jump to the heading or change group instead of scrolling smoothly when the reader turns on reduced motion.
Plate UI
Give EditorContainer its own stacking context with isolate, so page chrome that sits over the editor, such as a sticky header, stays above ink and every popup inside the container that is not portaled. Such a popup no longer paints over a positioned element that comes after the container.
Plate UI
Add remark-cjk-friendly and remark-cjk-friendly-gfm-strikethrough after remark-gfm. Bold, strikethrough and * italic that end in Chinese, Japanese or Korean punctuation right before the next word now read as formatting, not as literal asterisks and tildes. Bold and strikethrough also export without character references.
- If you set your own
remarkPlugins, addremarkCjkFriendlyfromremark-cjk-friendly/bidiandremarkCjkFriendlyGfmStrikethroughfromremark-cjk-friendly-gfm-strikethrough/bidiafterremarkGfm.
Add remark-cjk-friendly and remark-cjk-friendly-gfm-strikethrough to the demo's dependencies.
Plate UI
Undo and Redo call useEditorHistory() with no editor, so they run through the editor root instead of the editing area that holds the caret. With the caret in a read-only note they stay in the toolbar and undo a page edit. The toolbar hides them only while the editor root is in Viewing. They refuse to undo an edit made in a note that was locked afterward, as the keyboard shortcut does.
Viewing chosen while no EditorContent is mounted now puts the editor root in Viewing through setEditorViewing, so choosing Editing after an EditorContent mounts makes it writable again. Under an EditorProvider that holds an editor view, Viewing writes that view's Mode, and Editing also clears the view's own lock.
Plate UI
Open an upload placeholder's file picker for one file where a second placeholder does not fit after it, such as in a board's image shape. The picker asks the upload plugin's fitsAfter(key) whether a second placeholder fits. Picking several files there used to upload none and report that they cannot be added. A placeholder in the document still takes several files.
Plate UI
Fix All comments marking page comments as unavailable after you edit a board note or another nested root. The dialog reads every comment through the page, in the preview you see.
Plate UI
Add BoardImageKit, an image shape that draws its picture and alt text across its box without stretching it. Add it beside BoardKit in an editor that installs the image plugin. Paste an image link, or a picture copied from a web page, on the board, and it lands at the pointer at its own proportions, which every resize keeps. Enter and a double-click keep an image shape selected and put no caret in it.
Add BoardImageKit, and install ImagePlugin in the board page demo, so a pasted image link lands on both boards.
Plate UI
Viewing now turns every part of the editor root read-only, board notes included, through setEditorViewing. A read-only note no longer shows the button as Viewing while the page around it stays writable. When the toolbar controls no editing area, such as under EditorProvider or while no EditorContent is mounted, Viewing still locks the editor.
Plate UI
Hide the comment popover once none of its lines is in the editor's visible area, and show it again when they scroll back. A comment box someone types in or presses a button in, and a new comment waiting for its box, stay shown.
Hide the lint popover once its finding leaves the editor's visible area, and show it again when the finding scrolls back.
Take anchorHidden on FloatingPopoverContent, which hides the open popover and lets clicks reach the page under it without closing it.
Build a popover anchor from boxes you measure, and read hidden, which turns true once none of them is in the editor's visible area.
Plate UI
Mirror the editor UI in right-to-left text
Open the block handle menu and the cell borders menu on the mirrored side in right-to-left text
Point Left Border and Right Border at the side they name in right-to-left tables
Move a column toward the side its menu item names in right-to-left text
Mirror directional icons where their toolbar, menu or text runs right-to-left
Render equations and their TeX source left-to-right in right-to-left text
Move through emoji, color and table size grids in the arrow key's visual direction
Render a table's leading margin on its start side
Add an example that switches between Arabic, English and Hebrew, each in its own direction
Plate UI
Place media aligned start or end on the text's start or end side, and keep media aligned left or right on that side in any direction
Center an unaligned image or embed in static rendering, as the editor does
Align a file's caption to the text's start side
Keep each resize handle on its own side in right-to-left text, with arrow keys that follow the text direction
Plate UI
Keep code blocks left-to-right in right-to-left documents
Plate UI
Open under selected board note text and offer the selection commands. An accepted edit changes the note, not the page text at the same path. When a change replaces the block the menu sits beside, the menu moves to the block that now holds the selection.
Show Ask AI over selected board note text.
Open with a short quote, then the intro paragraph right before the board.
Plate UI
In All comments, a suggestion's thread says what the review did with the suggestion: Suggestion accepted, Suggestion rejected, Suggestion accepted and rejected, or Suggestion deleted, also after a reload. Show in document opens only a suggestion that is still pending, and not while a preview shows the document.
Plate UI
In All comments, Show in document on a thread in a board note selects the note text, not the page text at the same path, and leaves focus in the note.
Fix Show in document leaving focus on the All comments button in an editable view, throwing in a read-only view, dropping the selection after a quick click in a read-only view, and selecting the wrong text in an Accepted preview that hides a suggestion before the thread.
Fix Escape or Cancel in a new comment on board note text moving focus to the page. Focus goes back to the note.
Add comments and discussions, so a note's text takes comments like the page text.
Plate UI
Wrap the find bar's tooltips in TooltipProvider, so the bar opens in a Radix app that has no provider at its root.
Plate UI
Take the whole RangeGeometry, hide the popup once no line of its text is in the editor's visible area, and return shown, which says whether the popup is drawn. Pass hideWhenClipped: false to keep a popup shown, such as a form someone is typing in.
- Pass the whole geometry from
useSelectionGeometryin place ofgeometry.boundingRect. - Read
shownin place ofisPositioned, and spreadstylein place offloatingStyles.
Hide the floating toolbar once its selection leaves the editor's visible area, including when the editor scrolls itself or the toolbar sits outside the box that scrolls the text.
Hide the link popovers once the cursor or selected text they point to leaves the editor's visible area. An open link form stays shown, so typing still goes into it while its text is out of view.
Draw a collaborator's caret and name label only inside the editor's visible area, and put the label below its caret when it does not fit above.
- Read the name label from
[data-remote-cursor-label]beside the caret, not inside[data-remote-caret]. Both now sit in one[data-remote-cursor-clip]box.
Plate UI
Import the rest of an HTML or Markdown file that holds content the editor cannot show, and name what was not imported
Plate UI
Import Radix's toolbar and popover from the radix-ui package that shadcn's own Radix components use, so installing them in a Radix project no longer adds @radix-ui/react-toolbar or @radix-ui/react-popover.
Plate UI
Render each icon as a JSX element instead of passing an icon component, and type HandleActionsMenu's action icon as a React node.
- Pass each
HandleActionsMenuaction icon as an element, such asicon: <ArrowUpIcon />instead oficon: ArrowUpIcon.
Plate UI
Install each icon from the project's icon library, Lucide, Tabler, Hugeicons, Phosphor or Remix, instead of always adding lucide-react. The default, new-york and new-york-v4 styles keep Lucide icons.
Plate UI
Add app items to the slash menu through SlashPlugin.configure({ initialState: { items } }); each item joins the group it names, or starts a new group after the built-in ones.
Plate UI
Suggesting adds or deletes a whole table: its cells tint instead of showing a bar beside each one, and the refusal toast names what still refuses in a table: its rows, columns, cells and sizes, a block that holds a table, and a table that holds a code block.
Plate UI
Open beside selected board note text. In a note it shows the mark buttons and Comment.
FloatingToolbarreads its Editable fromuseEditableRef()and no longer takes aneditableRefprop. Render it from a slot asafterEditable: () => <FloatingToolbar />.
Apply the mark, color, highlight and comment buttons to board note text when the selection is in a note. Undo, Insert, Turn into, All comments and Mode keep acting on the page.
Plate UI
Pass the request's caret to createEditor as initialSelection, the one caret option Plate's editor makers keep.
- A copied AI command route passes
initialSelection: request.selectiontocreateEditor, because Plate's makers drop theselectionoption.
Plate UI
Write AI comments and suggestions under the AI's own name. use-chat exports aiUser, sets authorId: aiUser.id on AIChatTransportPlugin, creates each generated comment as aiUser with data.requestedBy naming the editor's user and data.model naming the model the route streamed with it, and the editor and demos list aiUser among the comment users. comment lets the user in requestedBy resolve, reopen, edit and delete the AI's messages, and resolve and reopen stay with the thread's creator or that requester when its first message is removed.
- List aiUser from use-chat among the CommentsPlugin users so AI comments show its name, and let your mutate adapter accept the AI's ID as an author for the users allowed to run AI.
Plate UI
Import cn from the cn package, which the shadcn CLI now installs with each item, instead of @/lib/utils.
Plate UI
Count a comment on board note text on the board's block in the sidebar, and open its popover on the note text. The count goes away when someone deletes the note text.
Plate UI
Fix a suggestion card that showed "Replace" for text deleted in one place and added in another, such as a moved paragraph. It now lists the deletion and the addition, and still shows "Replace" when you type after your own pending deletion.
Plate UI
Pass the editor's scroll element to NodeSelectionDrag as its container, so a block drag also starts from that element's blank space and from elements marked data-node-selection-start, such as a page cover, once the page registers its scroller with useEditorScrollElementRef.
Plate UI
Install files-sdk 3.2.0, and answer an Invalid or Unsupported error from the access check with a 422 instead of a 500.
- Update files-sdk to 3.2.0 or newer together with a copied lib/files.ts.
Plate UI
Open the date picker on the month of the selected date instead of the current month.
Plate UI
Add FormatPainterKit, which installs the format painter with Mod+Alt+C to copy a look, Mod+Alt+V to paste it and Escape to put the brush down, and include it in the editor kit.
Add a paintbrush button to the fixed toolbar, next to the clear formatting button. A click paints once, a double click keeps painting until Escape, and a click on the armed button puts it down.
Plate UI
Keep the table toolbar's row and column controls when text is selected inside one cell
Plate UI
Link read-only tag chips with a plain <a> instead of next/link, so the item works outside Next.js and no longer adds next to your dependencies.
Plate UI
Build toolbar buttons from your project's toggle and tooltip components, so the toolbar follows your edits to them and its tooltips look like the rest of your app, arrow and colors included.
Fix the split button's arrow half so it matches the main half's height and joins it on a square edge in every style.
Fix the color swatch tooltip trigger in Base UI projects.
Plate UI
Use only the AI Gateway key the caller sends as apiKey. A request without one gets a 401, even when the server sets AI_GATEWAY_API_KEY. To use a shared key, authenticate and authorize each request in your route and load the key on the server.
- Send the caller's AI Gateway key as apiKey in the request body, or authorize each request and load a shared key on the server.
Plate UI
Add FormattingKit, which installs clear formatting with the Mod+\ shortcut, and include it in the editor kit.
Add a clear formatting button to the fixed toolbar, next to the alignment button.
Plate UI
Load comments as { threads, ranges } and save api.ranges() with each document revision. The DOCX import in import-toolbar-button returns plain ranges keyed by thread ID, and the persistence demos keep thread rows in an app table.
Plate UI
Drop the hand-written equalityFn from the turn-into menu's structure state and the footnote hover preview, because useEditorSelector now compares results by value. Both still skip renders while you type and still update after each change they show.
Plate UI
Show no block handle on the blocks inside an object, such as a board's note, shape or arrow label, because the board refuses every move of them. Top-level blocks and blocks in tables, columns and other containers keep their handles.
Plate UI
Below 640px, hide each block's drag handle until the pointer is over the block, or on a touch screen until the block holds the selection. Before, every top-level block showed its handle.
Plate UI
Ignore the Enter that picks an input method candidate in Safari, so the comment field and the link URL field no longer submit half-written Japanese or Chinese text.
Plate UI
Fit the slash and mention menus in the space left above or below the caret, so the first item stays visible when the on-screen keyboard is open.
Use 16px comment text on phones so iOS Safari no longer zooms the page when the comment field takes focus, and show a send key on the on-screen keyboard.
Plate UI
Show the shortcut of the plugin the button toggles, so a rebound shortcut shows its new keys. After mount, the tooltip shows it as ⇧⌘X on Apple devices and Ctrl+Shift+X elsewhere, and the button sets aria-keyshortcuts. A disabled button shows no shortcut.
- Remove keys written into a
MarkToolbarButtontooltip, such astooltip="Bold (⌘+B)", or the tooltip shows them twice.
Show each mark button's shortcut for the user's platform instead of always ⌘. The fixed toolbar's Highlight button shows its BasicMarksKit shortcut, which it did not show before.
Plate UI
Add rankOptions(options, query), which keeps the options that match the query, best match first: an exact label or keyword, then a label that starts with the query, then a later label word, then a keyword or the group. Remove the value, keywords, group and label props from InlineComboboxItem and the filter prop from InlineCombobox; a menu ranks its own list and renders the result.
- Rank each menu's list with rankOptions in a component rendered inside InlineCombobox, because useInlineComboboxQuery reads the query from it, and render the result; delete value, keywords, group and label from InlineComboboxItem and filter from InlineCombobox.
Rank options while you type in one list without group headings, so /co picks Code Block and /bl picks Blockquote. Add the todo and codeblock keywords, and stop matching internal ids.
- Delete value from your own items in groups, and give each item a label no other item uses, because the typed list keys items by label.
- While a query is typed, rank the items of every group together in one list, so the best match comes first across groups.
Rank names that start with the query first, so @as picks Asajj Ventress.
Drop the filter={false} and item value props, which the combobox no longer reads.
Plate UI
Remove the docs items, including each page's -docs item. Each platejs release ships docs for its version in node_modules/platejs/dist/docs/, so point your coding agent there.
Plate UI
Add BoardKit, a whiteboard block with notes, geo shapes, arrows, frames and pen lines. Add it beside EditorKit. Its toolbar shows an icon for the select, hand, note, arrow, frame, pen and eraser tools, a shape menu of rectangle, ellipse, diamond and triangle, a lock button that keeps the drawing tool picked, zoom out, the zoom level as a percentage, zoom in and a button that fits every shape in view. A click on the zoom level goes back to 100%. A drag with the hand pans the board from any point, over shapes too, and shows an open hand. The eraser fades every note, shape, arrow and pen line a click or drag passes over to 30% and removes them when you let go, and never takes a frame. A shape with no fill and no label goes only where the eraser passes near its outline, so a pen line drawn inside an empty rectangle goes alone. With a frame selected, an icon removes the frame and keeps its shapes. BoardStylePanel docks at the board's top right with a row for each style the selected shapes take: shape, fill, outline color, line style, outline width and text size. A pick restyles the selected shapes and the shape you are typing in as one undo step. With a drawing tool picked, it styles the next shape. On a board narrower than 36rem the panel folds behind a Styles button. A pick keeps the caret, except in that folded panel, whose button moves focus into it. The copied board writes every word the board says in boardMessages, and the board tells screen readers the selected shape and its place, the picked tool, the zoom and how many shapes a removal took off. The board is one Tab stop. When it takes focus, screen readers read the keys in boardMessages.instructions, and the copied board draws a focus ring while no shape is selected. Command with an arrow on a Mac, or Control with an arrow elsewhere, selects the nearest shape in that direction. =, + and - zoom by steps, Shift+0 resets the zoom, Shift+1 fits every shape, H picks the hand, and PageUp and PageDown pan, sideways with Shift. With the note, shape or frame tool, Enter places that shape. Q or the toolbar's lock button turns on a tool lock that keeps the note, shape, frame or arrow tool picked after each shape it adds, and a second press turns it off. boardMessages.toolLock says each change. Command+D on a Mac, or Control+D elsewhere, copies the selected shapes 24px down and right, or further when another shape sits there, and selects the copies. With the arrow tool and one shape that is not an arrow selected, Enter starts an arrow from it, and Tab, or Command or Control with an arrow, aims at the other shape. The arrow keys then move the arrow's end, which binds to the shape under it other than the one its start binds to, to a frame only on its edge and to a pen line only on its line, and otherwise stays free. Enter then draws the arrow. With the arrow tool and nothing selected, Enter starts an arrow at the view's center. Its start binds to the shape under it that is not an arrow, to a frame only on its edge and to a pen line only on its line, and otherwise stays free, there and after each arrow key moves it. Tab, or Command or Control with an arrow, aims it at a shape. A second Enter keeps the start, and the end then moves the same way. boardMessages.starting, boardMessages.connecting, boardMessages.aim and boardMessages.free say each step, and starting names the shape the start binds to, or its point when it sits free. With one shape selected that is not an arrow, S resizes it from its bottom-right corner. Tab picks another corner, the arrow keys move the corner, Enter keeps the new size and Escape puts it back. boardMessages.resizing and boardMessages.resize name the corner and the size at each step. Space starts picking shapes: Tab, or Command or Control with an arrow, moves a dashed ring from shape to shape without changing the selection, Space adds the ringed shape to the selection or takes it out, and Enter or Escape keeps the selection. boardMessages.picking and boardMessages.pick say each step. Shift+Enter moves focus from the board to its toolbar, and Escape moves it back. A Yjs room created before the board refuses an editor with it, so seed a new room from the old room's document, as the Board docs page shows.
Add BoardPageKit, whose BoardPageElement draws a board that fills its container, for a page whose one block is a board. The board-page-demo example builds that page without EditorKit, whose drag handles and trailing paragraph would wrap and follow the board.
Plate UI
Add insideElement. Presses on that element, and focus moving into it, never close the popover. The Base popover also counts a press whose pointer lies over that element.
Keep the discussion open while the user taps between comments and suggestions in Safari with the WeType input method.
Plate UI
Ask commit.changed.hasNodeKey about the editor view's own root, so the component reruns only for changes in the document it renders.
- A copied caption or code-block diagram passes
editor.read.view.root()as the third argument ofcommit.changed.hasNodeKey, which plitejs requires.
Plate UI
Stop installing juice and validator. Word paste and DOCX import no longer use them.
Plate UI
A menu or popover opened from the toolbar, such as Turn into, Align, the emoji picker or the font size list, now closes once a toolbar scroll hides more than half of its button. While at least half of the button stays in view, the menu stays open. Before, the menu stayed on screen after its button scrolled out of view. In the Base UI variant, a swipe that starts on the toolbar no longer closes the menu by itself. The menu closes only when that swipe's scroll hides more than half of its button. Closing on a scroll, or with a swipe that starts outside the menu and the toolbar, leaves focus where it is, so the toolbar does not scroll back. A font size you were still typing is not applied.
ToolbarOverlayProvider now takes the toolbar's root element. The new useToolbarScrollDismiss(open, hostRef, closeWithoutFocus) calls closeWithoutFocus when a scroll of that toolbar leaves less than half of the element in hostRef visible. It counts only the part inside the toolbar, inside each ancestor whose overflow clips the toolbar, and inside the viewport. A host that was already more than half hidden when the overlay opened closes only once a scroll hides more of it. The hook returns that toolbar's element after the toolbar mounts, and null before then or outside a toolbar. The new isToolbarSwipe(toolbar, event) returns true for a touchmove or touchend that started inside that toolbar, so a Base UI adapter can cancel the dismissal that Base UI reports for it. Pass the toolbar's root element as element, or null outside a toolbar.
- Pass the toolbar's root element to
ToolbarOverlayProvideraselement, ornulloutside a toolbar.
Plate UI
Show a toast for the completion-error upload failure.
Plate UI
Remove AIPlugin and AILeaf from AIKit. A response shows only in the AI menu's draft until you accept it.
Draw the draft's end marker with a local aiPreviewEnd decoration plugin instead of the AI plugin.
Plate UI
Close the link form when focus moves into another iframe, also when the editor renders inside a frame sandboxed without allow-scripts.
Select the equation's TeX when its popover opens, also when the editor renders inside a frame sandboxed without allow-scripts.
Plate UI
Fix typed ==word==, which became ≡word≡ instead of a highlight. autoformat no longer turns == into ≡, and basic-marks keeps only the == highlight shorthand.
Plate UI
Fix !>= and !<=, which turned into ≯= and ≮= instead of ≱ and ≰.
Plate UI
Remove the ~0–~9, ^0–^9, ~+, ~-, ^+ and ^- unicode substitutions, so typed ~2~ and ^2^ become subscript and superscript with basic-marks instead of ₂~ and ²^. ^o still becomes °.
Plate UI
Let the editor panels shrink below 360 px, so the demo no longer scrolls sideways on screens narrower than 384 px
Plate UI
Return focus to the trigger after a pick when the editor has no caret, so the next keys no longer edit the start of the document.
Plate UI
Fix shapes starting away from the pointer when drawn after the page scrolls.
Plate UI
In the Radix version, a right-click no longer runs the menu item that appears under the pointer as the menu opens. This happened most often near the bottom of the view, where the menu moves up to fit. Pressing the right button, moving onto an item and releasing still runs that item.
Plate UI
Name each feature an export loses in its warning toast
Plate UI
Close the Date calendar on the first Escape or click outside.
Plate UI
A size picked from the font size field's list now applies to the selected text and returns focus to the editor, so the selection stays and the next keystrokes edit it at the new size. Before, the list closed on the press and nothing changed.
Plate UI
Name each format a Word import loses, such as font size or font family, in the import toast instead of counting lost properties
Plate UI
Keep suggested inserts and deletions styled in a paged editor, where each measured run of a text renders as its own [data-editor-text-piece] span. A copied kit needs [data-editor-text-piece] beside [data-editor-node=text] in its selectors.
Plate UI
Import the rest of a Word file that holds images, notes, headers or text boxes, and name what was not imported
Plate UI
Size editor menus to their items, so the color palette, Insert, Turn into and Line height menus are no longer cut off in shadcn styles that size menus to their trigger.
Plate UI
Install the list and callout kits, so lists, todos and callouts render on pages
Plate UI
Measure and paint paged text with named fonts, so lines in Firefox no longer wrap past their measured positions and overlap. In every browser, paged text, code and keyboard marks use named font stacks instead of the system and theme fonts, and headings use the page font instead of the heading font
Plate UI
On a touch screen, a long press or a double tap in an editor with the block menu now keeps the browser's own word selection and its Copy menu. Before, a long press turned the paragraph into a block selection, and Paste then replaced the whole paragraph.
On a touch screen, a dropdown menu now opens on a tap, so a swipe that scrolls the toolbar no longer opens the menu of the button it starts on. A mouse press still opens the menu on press.
On a touch screen, a swipe that starts on a floating toolbar menu button no longer keeps the floating toolbar open after the editor loses its selection.
useToolbarOverlayTrigger now returns { opening, cancelled } instead of one function. Call opening() where you called that function, and call cancelled() from the trigger's onPointerCancel.
- Call
opening()where you called the functionuseToolbarOverlayTriggerreturned, and callcancelled()from the trigger'sonPointerCancel.
Plate UI
Fix the All comments dialog so a row whose text was deleted says its target is unavailable and disables Show in document, instead of still saying it is attached.
Plate UI
Enter in the font size field now applies the size and returns focus to the editor, so the next keystrokes edit the text at the new size. Before, focus stayed in the field and the typed text went into it.
Plate UI
EditorFrame now shrinks to fit a grid or flex layout narrower than its toolbar, and the fixed toolbar scrolls inside it. Before, the toolbar widened the frame and pushed the fields beside it past their container's edge.
Plate UI
The first click on More formatting or Turn into in the floating toolbar now opens its menu in Safari. Safari cleared the text selection when the menu took focus, which hid the toolbar and the menu with it.
Plate UI
Remove the Auto language. Plain Text is now the first option in the picker, and a block saved as Auto shows plain text until someone picks its language.
Plate UI
Install Pele 1.9.0, which crosses fewer edges around subgraphs, styles sub, sup, code and kbd in labels, and fills Sankey links with gradients
Plate UI
Fill Text to display with the link's text in Edit link
Show the link toolbar again after Enter saves an edited link
Point Open link at the link under the caret when the caret moves straight into another link
Close Edit link and Insert link and drop the draft when focus moves from the form to another element, the editor takes focus or a click lands outside, and show the link toolbar again while the caret stays in the link
Keep Insert link and the formatting toolbar working after the link shortcut over a selection inside a link
Plate UI
Add space above each heading in DOCX_EXPORT_STYLES, from 24pt for h1 down to 10pt for h6, because Word export now applies the stylesheet's block margins.
Plate UI
A press on another floating toolbar button while one of its menus is open now works, so Bold marks the selected text and Turn into opens. The floating toolbar also stays visible while a press that closes its menu is held. A dropdown menu now keeps its toolbar open until focus settles after it closes.
- Update
floating-toolbartogether witheditor-dropdown-menu; an older floating toolbar closes its menus before they can record an outside press, so focus jumps back to the editor.
toolbar-overlay.tsx is now its own registry item, which both the toolbar and the dropdown menu install.
Plate UI
Build the date label in each copied component. date shows Today, Yesterday or Tomorrow for nearby days and the full date otherwise, such as March 23, 2026. date-static always prints the full date, so an export never says Today. Both print US English; edit the copied dateFormat and words to change it.
- Update copied
dateanddate-staticcomponents, becauseplatejs/dateno longer exportsgetDateDisplayLabel.
Plate UI
Pin copied diagram renderers to tested engine versions
Plate UI
Keep the floating toolbar and the selected text when a second click on More formatting, or Escape, closes it.
When a click outside a non-modal menu, a right-click outside any menu, Tab in a Base UI menu, or a focus move to another control closes a dropdown, focus stays where the user put it. It no longer moves back into the editor or, on Base UI, to the menu's trigger. This applies to every editor dropdown: More formatting, Turn into, font color, insert, mode, align, line height, list, export, import, media, comment, the table menus and the block drag handle menu. When an item moves focus itself, the menu leaves focus there. A menu that puts focus back in the editor after a close, such as More formatting, still does after a press on another button in its own toolbar. Base UI menus close without an exit animation, as Radix menus already do, so a click right after a close keeps its focus. The dropdown menu now also installs menu-close-focus.tsx, which holds the close-focus code both bases share.
Plate UI
Load platejs/docx/export only when Export as Word runs, so an editor that shows the export menu no longer downloads Word export up front.
Plate UI
Show a saved pt size in pixels and step from it, and show any other saved size, such as 1.2em, as saved without stepping it.
- Reinstall
font-size-toolbar-button, or replace itstoUnitLesscalls with a local parser, becauseplatejsno longer exportstoUnitLess.
Plate UI
Render inline equations in KaTeX inline mode, so fractions, sums and integrals draw at the size of the surrounding text instead of overlapping the next line.
Plate UI
Define SlashPlugin in the copied file with the / trigger policy and the code-block check, and let each item return its command's result.
- Import SlashPlugin from the copied slash file; Plate does not export it.
Let InlineComboboxItem's onSelect return a command's true or false; only false keeps the query.
Type each popup's props with Plate's EditableSiblingProps.
Plate UI
Show ⌘+⇧+X in the Strikethrough tooltip so it matches the mod+shift+x binding in basic-marks, instead of ⌘+⇧+M.
Plate UI
Indent all six heading levels in the table of contents
- Read an entry's level instead of its depth and type in copied TOC code.
Remove TocElementDocx
- Delete the TocElementDocx import and its toc override from your Word export kit; exportDocx draws the table of contents.
Plate UI
Read the target panel's cards and each block's thread count by the block's key, so under an accepted or proposed preview each paragraph shows only the cards of the content it shows. SuggestionDiscussionBlock takes blockKey and no blockIndex prop.
- Remove the
blockIndexprop fromSuggestionDiscussionBlockand pass a block key toblockThreadCount, or re-copydiscussion.tsx.
Under a preview, anchor the popover of a suggestion or a change thread on the paragraph whose trigger you pressed last, and open it only while that paragraph shows the thread.
Show a change's card in the popover when its thread opens on its own, such as from a list.
In Suggesting, say why the editor refused an edit beside content a pending join moves, instead of suggesting a switch to Editing.
Plate UI
Place media aligned start or justify on the left and end on the right, instead of in the center.
Add a Default item that clears line height, offer 1, 1.2, 1.5, 2 and 3, and check nothing when the selection mixes line heights.
Check nothing when the selection mixes alignments, instead of Left.
Configure only the target blocks. Every stored line height and alignment now draws.
- Drop defaultNodeValue and validNodeValues from copied kits; platejs no longer accepts them.
Install FontColorPlugin without a black default, so pasted black text draws, including in dark mode.
Use ColumnGroupPlugin and BaseColumnGroupPlugin for column groups.
- Import ColumnGroupPlugin and BaseColumnGroupPlugin where the copied code imported ColumnPlugin and BaseColumnPlugin.
Plate UI
Import katex and katex/dist/katex.min.css directly.
Stop installing katex.
Remove EquationElementDocx and InlineEquationElementDocx, which exportDocx does not use.
- Delete imports of EquationElementDocx and InlineEquationElementDocx; exportDocx draws equations as Word math itself.
Load the KaTeX 0.16.22 stylesheet, which matches the equations the copied math components draw.
Plate UI
Add Accept all suggestions and Reject all suggestions to the mode menu. Each decides every pending suggestion, from every author, in one step that one undo restores. Both stay disabled in Viewing mode and when nothing is pending.
Plate UI
Fix the Base UI type error on the block handle tooltip, and close that tooltip without a fade when the pointer leaves its block, so it never shows in the corner of the page.
Plate UI
Wrap pick and replaceItems in txLocate(false, …), so the plugin compiles against platejs's check for undeclared update methods.
Plate UI
Center the Details toggle on the title's first line when a font size enlarges the title's text
Plate UI
In a read-only view, a click or Enter on a footnote mark scrolls to its note and flashes it, and the note's back link jumps back to the mark, with focus on the control you land on. A back link of a note cited several times opens its picker with focus inside it. An unresolved mark does nothing in a read-only view.
Link each mark to its note and each note back to its first mark, with fnref- and fn- ids, so static pages and exported HTML keep working footnote links.
Plate UI
Keep a table's row controls under menus that open over the table, so a click on a menu item, such as Bulleted list in Turn into, reaches the item.
Keep block handles hidden after a drag across table cells ends, while the cells stay selected.
Plate UI
Draw the picture of a code block in a diagram language below its source. withDiagrams wraps CodeBlockElement or CodeBlockCodeMirrorElement with the renderers you pass, the toolbar switches between Code and Both and exports a PNG, and the PlantUML renderer sends source only to the server you configure. The Mermaid renderer draws with Pele.
Add an addon prop that adds language options, toolbar controls and content around the source, so a wrapper such as withDiagrams extends the copied component without editing it.
Remove the Code Drawing menu entries, indent target and static kit, and remove the code-drawing and code-drawing-static items and the code-drawing-demo example.
- Replace the code-drawing items with code-block-diagram and a renderer item per engine; migrateV54 turns saved drawings into code blocks.
Plate UI
Enable Code in the Turn into menu for a block selection that skips blocks. Each run of adjacent selected blocks becomes its own code block, and the blocks between them stay unchanged.
Show a ToolbarMenuGroup whose items are all checkboxes, such as the Turn into menu's Structure group.
Plate UI
Hide the popup as soon as it closes. With reduced motion on, a slash, mention or emoji pick no longer shows a "No results" popup for a few frames.
Plate UI
Leave selected list items unchanged when Quote cannot apply, such as on a Details title, instead of removing their list formatting.
Plate UI
Keep the typed query and the open menu when the chosen block does not fit where it would land, instead of throwing a schema error.
Plate UI
Show a toast that names the files when an upload has no room where it would land, such as a parent already at its block limit.
Plate UI
Mark a block entered with the caret with a ring on code drawings and Excalidraw canvases and a tinted background on upload placeholders.
Leave a block selection to the blue block highlight instead of adding the caret-entry style.
Show the media ring and toolbar only when the media node is clicked or arrowed into; a block selection shows the blue block highlight instead, even when it holds only that media node.
Keep the inline focus style off mentions, tags and footnote references inside a block selection.
Turn a selected media node into a block selection when its drag handle is clicked or its block menu opens.
Plate UI
Turn a Details title into a list item with its body one level under it, and disable Code when the selection holds the title and more blocks
Indent audio, callout, code drawing, column group, equation, Excalidraw, file, horizontal rule, media embed, table of contents, upload and video blocks, so a Details body that holds them can become a list
Plate UI
Remove the selected nested Details without removing its parent section
Plate UI
Stop storing a width on the demo drawing, which the v54 Excalidraw schema does not declare.
Plate UI
Align the Chinese exit break demo with the English one and mention columns in its copy
Plate UI
Explain in both locales that a code block, callout, image or divider stays in its container on ⌘⏎
Plate UI
Remove CsvPlugin and its platejs/csv import from the editor kit, and remove the csv-demo example. Spreadsheet copies still paste as tables through HTML, and tab-separated text pasted onto selected table cells fills them field by field.
Plate UI
Remove the active-heading highlight and its scroll observer from TocElement, so every row keeps the same muted style. A selected TOC block gets the same tinted background as a selected block equation.
Plate UI
Render a Details title that has a heading level with that heading's style, and center its toggle on the title's first line at the heading's own font size
Format a Details title in place when choosing Text or a heading, instead of breaking the title or inserting into its hidden body, with or without the Heading plugin
Keep list formatting when the schema refuses a block format, drop the bullet when a bulleted heading takes its own level, and show an H4 to H6 as a heading instead of Text in the block menu
Show the heading size of a Details title that has a heading level
List each Details title that has a heading level, and open every Details around a heading or title that the jumping editor root shows collapsed before jumping to it
Plate UI
Size the side padding of the default, demo and fullWidth variants to the editor's own width instead of the viewport. Padding shrinks to 24 px in a narrow editor, except that editor keeps at least 52 px at the end, so a block discussion button fits. Editors at least 512 px wide, or 640 px for fullWidth, keep their current padding.
Size the editor's start padding to its own width instead of the viewport, and keep 52 px at the end, so a block discussion button fits. The start padding shrinks to 24 px in a narrow editor, and editors at least 600 px wide keep 48 px.
Plate UI
Add LintKit, which configures BaseLintPlugin with two example rules that skip code blocks, wavy underlines by severity, and F8 and Shift+F8 to select the next and previous finding. LintPopover shows the finding under the caret with its fixes and Fix and next. useLintFindings and useLintFindingAt read the findings for your own UI.
Add a lint example with a findings panel that runs, clears and applies the first fix, and a Check with server button backed by a stand-in rule that answers after 600 ms.
Plate UI
Keep an empty caption hidden while its media is selected, so selecting media no longer shifts the page. The caption shows once the caret enters it, such as through the media toolbar's Caption button, and Caption no longer takes an active prop.
- Remove the active prop from Caption; it shows an empty caption only while the caret is inside it.
Open the image preview on double-click again; api.preview.open takes the image's path and URL. The preview renders above the page, centers the image, and closes on a backdrop click or Escape.
- Call imagePlugin api.preview.open with the image's path and URL instead of the element.
Select a file on click in an editable editor and open it on double-click. Show the media toolbar with Preview, Caption and delete while a file, audio or video node is selected. The image toolbar also gets Preview, which opens the image preview. The file and audio toolbars sit above their block, so neither covers the next block, and the audio selection ring fits the player. File and audio blocks get vertical padding so a selection ring does not overlap the block next to it, and a click in that padding selects the block instead of opening its caption. A click on an audio or video player selects that node and returns the keyboard to the editor, and Preview no longer keeps focus, so arrow keys keep moving the selection.
Plate UI
Create each read-only preview editor with useCreateEditor from platejs/react, with the same plugins and dependencies as before.
Create the server page's export editor with createEditor from platejs and the client preview's editor with useCreateEditor from platejs/react, and keep rendering both through EditorStatic.
Plate UI
Paint every part of one change in one color, and each change in its own color, even when one person made them all.
Mark a suggested line break, a removed line break, or a whole-block change such as a paragraph turned into a heading, in the left margin in its change's color.
Show a toast when Suggesting refuses a change, and leave the document as it was. Suggesting refuses any change inside a code block and a change to a table itself such as adding a row. Text typed inside a table cell shows as a suggestion. So does a list edit, such as Enter in a list item. The mode menu switches to Suggesting only when the switch takes.
Paint no number on a numbered item that a pending suggestion deletes, and give the items after it the numbers that accepting the deletion gives them.
Accept and Reject on a suggestion card decide the change that card shows.
Pass only authored={{ intent: 'propose' }} to a suggesting view.
- Pass only the intent to a suggesting view: replace
authored={{ intent: 'propose', projection: 'markup' }}withauthored={{ intent: 'propose' }}.
Restore a saved revision with its Restore button, as one edit you can undo. The per-author revert is removed.
Plate UI
Keep table block selections consistent in color and confined to their cells
Plate UI
Draw a bulleted item as a disc list inside its block, like numbered and to-do items, so saved HTML reads it back as a list and Word export writes a Word bullet list; bullets on toggles and images keep the root marker.
Show one "Imported with N warnings" toast that leaves out lossless cleanups, such as a removed <style>.
Plate UI
Cmd+K and the link button no longer open the link form in a block that cannot hold a link, such as a code block, where submitting it threw an error.
Plate UI
Remove the forceSubmit state. The form saves a new or changed address that starts with http:// or https://, has another scheme such as mailto:, or starts with /, ./, ../, # or ?. It stays open on any other draft, such as www.example.com, and when allowedSchemes refuses the address. Editing only the link text keeps the stored address.
Plate UI
Fix Cmd+K, which did not open the link form. api.trigger() reads the editor's focus when focused is omitted, and returns false when the form stays closed, except over a selection inside a link, where it returns true without opening one.
Plate UI
Store frequent emojis under emoji-frequent:v1 and cached shortcodes under emoji-shortcodes:v1:<url>.
- The picker no longer reads frequent emojis saved under the old key, so the list starts empty.
Name exported files document.html, document.md and document.docx.
Write comments data with kind: 'comments', the value platejs/comments reads.
Use collaboration-demo as the demo's Yjs root and room id.
Plate UI
Replace SelectEditorContent, SelectEditorInput, SelectEditorCombobox and select-command.tsx with one SelectEditor. It keeps the chips as the only value, writes the form's value back whenever it differs from the chips, and passes ref, onBlur and ARIA props to the editable.
- Replace SelectEditorContent, SelectEditorInput and SelectEditorCombobox with one SelectEditor that takes items, value or defaultValue, onValueChange and the editable's props.
Move the active option with ArrowUp and ArrowDown wherever the caret is, close the menu and clear the search on Escape and mod+Enter, and link a read-only chip to its url only when getLinkHref accepts it, so a chip with a script or malformed url shows without a link instead of breaking the field.
Ship tag.tsx, with the tag element plugin and its chip, in this item, and remove the separate tag item and the Radix dependencies.
- Install select-editor instead of tag; it copies tag.tsx with the tag element plugin.
Plate UI
ToolbarButton uses a string tooltip as the button's accessible name when you pass no aria-label. Screen readers announce icon-only buttons such as Link by that name, and getByRole('button', { name: 'Link' }) finds them.
Name the button with its label and current value, such as "Turn into: Text" and "Editing mode: Editing". The mode button keeps its name when narrow screens hide its text.
Name both halves of each split button, such as "Bulleted list" and "Bulleted list styles", or "Image" and "Image options".
Remove each aria-label that repeated the button's tooltip. The accessible names stay the same.
Plate UI
Draw a bulleted item's chosen style, such as circle or square, in the editor and in static HTML instead of always drawing a disc.
Plate UI
Use the demo plugin's element type, so the page loads.
Install BasicBlocksKit, so each editor loads its heading.
Fix the code block's content and use the horizontalRule type, so the page loads.
Load the alignment document instead of an empty editor.
Plate UI
Read the caret from the view's editor, so Tab and Shift+Tab nest and un-nest list items and stay in code blocks and tables. Tab at a paragraph's start or end moves focus, as it does mid-paragraph.
Install TabbableKit and use the demo plugin's element type, so the page loads and shows the kit.
Plate UI
Select individual Details body blocks with a selection rectangle
Plate UI
Fix indented numbered and task lists rendering twice as far in on static pages. DOCX export still reads each item's nesting level from the block indent.
Plate UI
Add Restart numbering and Continue numbering to the numbered list menu.
Name each list with data-list-id and its level rules with data-list-levels, so HTML and DOCX export keep each list and its levels.
Write each item's indent, list id, level rules, restart, start, type and checked state on its li, so pasting the static HTML keeps them.
Plate UI
Keep inline equation editors closed when extending a text selection across suggested changes.
Plate UI
Preserve selected blocks when opening context menus from nested drag handles
Plate UI
Fix HTML and Word export throwing on tables, task lists, callouts, columns, code blocks and images by drawing the file with BaseEditorKit as presentation.
Drop the per-level margin-left on numbered and task lists, so static HTML indents a nested list once and Word takes its level from the block's indent.
Show an error toast when HTML or Word export throws, instead of failing with no message.
Move the Word look of callouts, code blocks, and empty equation and table of contents placeholders into DOCX_EXPORT_STYLES, because the package's DOCX drawings leave colors, fonts and sizes to the stylesheet.
Draw the task checkbox inside its li and mark the li with data-checked, so Word export gives each task one paragraph with a ☑ or ☐ list marker.
Target images like IndentKit does, so a static editor loads and indents an image the live editor indented instead of throwing a schema error.
Target images like ListKit does, so a static editor loads an image in a list and draws it as a list item.
Plate UI
Add a shared Emojibase catalog with GitHub shortcodes, loaded on first use from a pinned CDN release, cached in the browser, and ranked by shortcode before label and tag matches.
Define EmojiPlugin in the copied file, search emoji-data, insert the emoji as text, show a loading row that keeps Enter from splitting the block, and keep the popup closed inside code blocks.
- Replace emojiPlugin with EmojiPlugin from the copied emoji file.
Build the picker on frimousse with keyboard navigation, the ranked emoji-data search, a frequent row and an unavailable message, and take the trigger as the child with a required onEmojiSelect(emoji).
- Pass the trigger as the picker's child and handle onEmojiSelect(emoji); the data, settings, closeOnSelect and disabled props and EmojiPickerTrigger are gone.
Insert the picked emoji at the selection as its own undo step and return focus to the editor; the callout sets its icon from the picker.
Highlight the top result after each query until an arrow key or a scroll moves away, let Enter pick a result in the frame it appears, and take a loading prop that keeps Enter and Tab from editing while options load.
Plate UI
Request the version range Plate declares for each npm package, such as juice@^11.0.1, xmlbuilder2@^3.1.1 and yjs@>=13.6.30, instead of the latest version.
Stop installing files nothing imports: lib/inline-suggestion.ts, hooks/use-mobile.ts and the shadcn button. The four static items also stop requesting class-variance-authority.
Plate UI
Draw the block drag image at half opacity with no background, so only the faded blocks follow the pointer. Column and table row drags use the same image.
Plate UI
Read the current user from editor.userId, so comments, replies and suggestion colors follow the editor's user.
- Remove currentUserId from CommentsPlugin initialState and pass the same user as createEditor({ userId }).
Offer Suggestion mode whenever SuggestionPlugin is installed, including editors without a userId.
Name the user once with the editor's userId, or run as the local user without one.
Plate UI
Add Move beside previous and Move beside next to the handle menu, shown when the editor admits a side drop, such as with columns installed. A drop on a block's right edge paints a vertical indicator.
Plate UI
Every selectable block gets a handle at any depth, such as blocks inside blockquotes, details, columns and table cells, and only the innermost hovered block shows its handle. The handle reads its blocks from editor.read.transfer.nodes, and a selected table no longer hides the editor's handles.
Cut takes the blocks editor.read.transfer.nodes() returns, such as a list item with its nested items.
Plate UI
Clicking a block's drag handle opens Move up, Move down and Cut, and Mod+Shift+ArrowUp / Mod+Shift+ArrowDown move the blocks around the caret. Dropping a block into another editor copies it, and Alt (Apple) or Ctrl copies inside one editor.
Clicking a column's drag handle opens Move left and Move right.
Clicking a row's drag handle opens Select row, Move up and Move down; the handle's label is "Drag row or open row actions".
The right-click menu offers Move up, Move down and Cut.
Plate UI
Drag handles start a native drag with editor.api.dom.drag.start, and DropIndicator paints useDropIndicator() in each view. DndKit needs no DndProvider, and the react-dnd dependencies are gone.
The column handle drags its column natively; the vertical drop line comes from DndKit.
The row handle drags its row natively; the drop line comes from DndKit.
Dragging media starts the same native block drag.
Dropped files land at the edge under the pointer.
Plate UI
Open the popup when the trigger is typed and filter on the text after it, keeping the editor focused. Enter or Tab completes the active option in one undo step, Escape keeps the typed text, and IME preedit filters without selecting.
- Mount MentionCombobox, SlashCombobox, EmojiCombobox and FootnoteCombobox through each plugin's slots.afterEditable; the input elements are gone.
Plate UI
Read list numbers and table cell presentation from the rendered path, so numbering continues inside content roots and a static preview does not index each document.
Plate UI
Render streamed previews from the latest draft, skipping drafts that were never shown when rendering falls behind the stream. The streaming demo's static output shows its status and parse error with the parse it renders. Both previews render only when their document changes, not on every streamed update. The AI draft's purple text is styled by its container instead of a decoration on every text, its end marker is read from the last block only, the fallback end marker stays mounted so the preview is not restyled whenever it appears or disappears, and the inline draft scrolls when it resizes instead of measuring layout after every render.
Plate UI
Remove the Markdown joiner transform. The AI command route streams model text without buffering or added delays.
- Remove
experimental_transform: markdownJoinerTransform()from the AI command route and delete lib/markdown-joiner-transform.ts.
Plate UI
Keep Word exports downloading with a warning when content such as a comment cannot be placed, and warn when an imported Word file will be regenerated on export instead of returned unchanged
Plate UI
Configure MarkdownPlugin with remark-math, remark-gfm and remark-emoji only; Plate tags such as <callout> read without remark-mdx, and mentions read as [label](mention:ref) links.
- Remove remarkMdx and remarkMention from MarkdownPlugin remarkPlugins; Plate tags are built in and mentions are [label](mention:ref) links.
Parse through the kit's MarkdownPlugin configuration instead of passing per-call remark plugins.
Refer to Plate's Markdown tags instead of MDX in the generate, comment and common prompts.
Plate UI
Stream Markdown with editor.api.markdown.parseSlice instead of the AI chat preview: previews hide an unfinished trailing tag, Finish and Stop parse the draft strictly once, every parse continues the latest preview, and reset cancels without a final parse. The static preview renders each parse as the document of EditorView without editing its editor; the editable preview installs content plugins only and replaces only the changed blocks. The Markdown source, chunk size and delay are editable.
Render the AI draft as the document of the static preview editor instead of copying it into that editor on every chunk. The streaming end marker covers only the draft's last character, so it appears once when code highlighting splits the last line.
Plate UI
Parse HTML and Markdown through their installed format APIs, show successful conversion warnings, and prepare a replacement editor with imported Word comments through CommentsPlugin when available.
- Pass the editor plugin list and an
onImporteditor-owner callback toImportToolbarButton; the button prepares a complete detached replacement before the application swaps editors.
Use diagnosed HTML and Markdown serializers plus exportDocx, preserve one chosen accepted, proposed, or review projection, and export attached comment threads as Word comments.
- Use
exportDocxfromplatejs/docx/export; theexportToDocxalias does not exist onnext.
Plate UI
Show the floating toolbar for native text selections that include retained suggestions.
Plate UI
Export HTML, Markdown, and Word from the same captured document revision. With unresolved suggestions, choose Include suggested changes or Exclude suggested changes. Export as Word with tracked changes preserves pending suggestions as Word revisions and reports conflicts that require resolution.
Remove Export as PDF and Export as Image, along with the html2canvas-pro and pdf-lib dependencies.
- Remove
html2canvas-proandpdf-libfrom your app when no other code uses them.
Inline the app's own stylesheets in HTML exports instead of linking the platejs.org stylesheet.
Complete close focus and dismissal before another trigger press so toolbar menus reopen on the first click after selecting an item.
Set a current user so Suggestion mode records suggestions, and group contiguous typing into one visible suggestion and Word revision.
Link its DOCX registry metadata to the DOCX documentation page.
Use the current editor's document-first HTML, Markdown, and DOCX exporters directly, with one captured projection and shared diagnostics.
Keep the dependency-free copied presentation stylesheet while platejs/docx/export supplies semantic mappings for code blocks, columns, equations, callouts, headings, and tables of contents.
- Keep
DOCX_EXPORT_STYLESin copied app code; DOCX semantic mappings come fromplatejs/docx/export.
Plate UI
Disable undo and redo while a replay awaits external persistence, expose the busy state to assistive technology, and keep toolbar clicks fire-and-forget.
Plate UI
Restore inline AI edit suggestions.
Plate UI
Install provider-neutral upload UI with an explicit browser-local, Cloudflare R2, or Amazon S3 provider; persistent providers share one gateway policy and install only their own adapter dependencies.
Plate UI
Install the Files SDK client and private document-scoped gateway together through the upload kit; the route requires application access policy and storage credentials.
Render completed media separately while the upload schema owner omits unresolved drafts from static output.
Plate UI
Discover open, resolved, and unavailable conversations through All comments; remove stale block placement and preserve in-progress conversation actions.
Include document-level comment discovery in editable, read-only, persistence, and suggestion examples.
Plate UI
Start the Playground in Editing mode while keeping seeded suggestions visible.
Plate UI
Preserve page scroll when a new comment receives focus and keep the popover attached to its anchor during editor scrolling.
Plate UI
Run final focus from the selected menu item and call typed block insert or upsert operations directly.
Plate UI
Call installed feature operations directly, preserve exact block selections, and disable unsupported structural actions.
Share the same server-safe formatting kits between editable and static editor compositions.
Install package requirements derived from copied source and serve production and development payloads from one generated registry state.
Plate UI
Publish generated feedback as ordinary comment threads. Keep completed comments when generation stops or fails, and show failed requests with retry and dismissal controls.
Limit comment prompts to the selected content while preserving its formatting and inline structure.
Plate UI
Await comment actions before clearing input, retain failed replies for retry, reopen resolved conversations independently of document undo, and keep suggestion conversations replyable after decisions.
Let completed AI comments finish saving when the chat menu closes; discard pending drafts on cancellation.
Save comments and opaque attachments with the matching document revision and restore them into a fresh editor.
Load three authored suggestions and their conversations together while keeping direct editing as the default.
Plate UI
Keep keyboard navigation visible below fixed toolbars.
Plate UI
Run complete undo, redo, and AI response actions through editor services so each action publishes as one history unit.
Plate UI
Inspect two-way and three-way comparisons with grouped effects, evidence, conflict choices, filters, and navigation. Checking a group also checks the groups it requires, and unchecking a group unchecks every checked group that requires it.
Save document revisions and compare the two latest snapshots.
Plate UI
Create provider-bound descriptors with CollaborationPlugin.create(options) while preserving copied cursor presentation.
Plate UI
Keep selected text visible while writing comments
Plate UI
Use green for the current user's suggestions and stable distinct colors for collaborators, with underlines for insertions and strikethroughs for deletions.
Plate UI
Keep suggestion styling with its optional kit
Plate UI
Install HTML export and MDX API components under semantic filenames.
Plate UI
Install complete editor composition as rich-text-editor.tsx.
Plate UI
Review formatting and block proposals, compare document projections, and save proposals with their discussion threads.
Keep discussion buttons available when switching a saved document between accepted content and markup.
Load the multi-author suggestion example and linked discussions from its included saved document, with suggesting mode configured on EditorRoot.
Plate UI
Use SuggestionPlugin, view-local activation, and authored-change hooks in copied controls and review cards, and switch Suggesting through AuthoredPlugin's setView. Customize styles, cards, and Comments composition in registry source.
Plate UI
Review proposed insertions and deletions in the Suggestions demo
Plate UI
Keep Home, End, arrow selection and deletion aligned after focus changes and composition. Use Tab and Shift+Tab for indentation, with Enter and Shift+Enter for an indented newline.
Plate UI
Keep typing in the invoking editor after accepting, inserting, or replacing content with AI.
Plate UI
Focused Comments examples cover conversations, overlapping ranges with undo and redo, local snapshot save/reload with a simulated failed reply, and read-only/static rendering.
Plate UI
Render diagrams for preview and export using the latest source
Plate UI
Keep discussions usable after suggestion actions and on touch screens
Plate UI
Allow editors without comments to render optional comment subscribers
Plate UI
Playground loads its complete editor kit, example comment threads, and comment actions
Plate UI
Reduce table selection rendering work while preserving row and cell highlights
Plate UI
Support AI writing in documents containing code drawings
Plate UI
Call custom controls through FindPlugin and subscribe to individual search fields. Closing the bar returns focus to its editor view; mounting another command button preserves the current query.
Plate UI
Find opens independently in each editor view. Custom opening controls use useFind inside Editable slots, while BaseFindPlugin supplies shared queries and results. The demo includes a second view of the same document.
Plate UI
Keep navigation highlights in the calling editor view. TOC supplies heading highlight classes, and TOC and footnote installs include their highlight styles.
Plate UI
Bind the shared SDK transport with useAIChat. Share one session across mounted views and keep streaming while a writable view remains. Keep endpoint configuration and comment persistence in the application.
Render the session preview through a read-only editor view and size the menu within the viewport.
Render ghost text without changing the accepted completion. Keep demo responses in the application route.
Return completion text and pass the configured gateway key to the provider.
Plate UI
Insert blocks with owned construction, empty-source replacement and selection. Preserve source content while media URL input resolves and keep each action in one history step.
Convert the selected blocks with one feature command, including disjoint selections and structural wrappers.
Plate UI
Use createCodeMirrorAdapter for versioned text projection and cleanup. Keep presentation and language loading local, with CodeMirror commands for line indentation and syntax-aware Enter.
Plate UI
Prepare selected blocks and inert preview clones through DndPlugin; keep preview spacing and scroll compensation in the component.
Validate every dragged row and its source editor before applying the row drop handler.
Plate UI
Keep editor toolbar styling in copied editor components
Plate UI
Measure selection geometry while the toolbar is visible, preserving dismissal, focus and reopening after selection changes.
Bind each editor to its own document, share formatting through the active editor, and include the image editor's drag-and-drop integration.
Plate UI
Use useExcalidrawSync to apply document changes and undo to the canvas, save referenced images, and exclude transient canvas state from document writes. Keep lazy loading and presentation in the copied element.
Plate UI
Search through BaseFindPlugin while keeping the search bar, deferred input, focus and scroll behavior local. Preserve IME confirmation and opening before the first query.
Style the current match separately from other matches using the feature’s transient data attributes.
Plate UI
Insert selected suggestions through the onSelect transaction callback. Cancel at the input's current location, preserve outside selections, and reject stale or foreign input callbacks.
Plate UI
Use editor shortcuts and local panel dismissal
Plate UI
Preserve alignment when resizing media and discard cancelled pointer gestures. Keep slider values and bounds in consistent units.
Plate UI
Shared toolbars target the selected editable view.
Plate UI
Read semantic groups with useSuggestionReviews and accept or reject by ID. Keep labels, dates and card activation in the copied view.
Use the feature's inline suggestion projection for consistent inherited text styling.
Plate UI
Derive the default size from the heading level and keep input, presets and step buttons within 1–100 pixels. Reject empty and nonnumeric input.
Display Viewing and select its menu option whenever the editor is read-only, including when the suggestion preference is enabled.
Plate UI
Install the paste and import plugins; call exportDocx with a document snapshot from the export action.
Emit ordinary HTML anchors and let the converter assign unique bookmark names within each DOCX document.
Plate UI
Choose the PlantUML server with plantUmlServer and customize PNG downloads, preview height, and debounce in the copied component.
Plate UI
Edit a local equation draft, confirm it with Done or Enter, and undo it in one step. Escape discards the draft without overwriting external changes.
Plate UI
Use NavigationFeedbackPlugin target attributes directly for reference and definition highlights.
Plate UI
Keep URL drafts verbatim until submission, preserve rejected input, position the floating form inside narrow viewports, and open shortcuts in the focused editor view.
Plate UI
Render task markers directly in list wrappers
Plate UI
Admit picker, paste, and drop batches through one draft-slot protocol. Upload tasks survive view remounts, cancel when their keyed draft loses authority, expose local progress and retry state, and report each failure once through MediaKit.
Plate UI
Insert media URLs through the selected media feature
Plate UI
Explore collapsible Details in the playground
Plate UI
Share toolbar overlay tracking and preserve anchor ref cleanup
Plate UI
Keep search, first-item selection, and Enter activation in the copied command bridge while Fzf owns matching; install only the menu parts used by the tag picker.
Plate UI
Keep heading tracking stable while scrolling and update the active row when returning to an earlier heading. Configure scroll enablement and offset on TocElement.
Plate UI
Keep the native code docs preview at 1,000 lines with a separate 10,000-line stress test.
Plate UI
Read search state and call search actions through FindPlugin.
Include use-mounted in standalone installations.
Plate UI
Stop pending chunks when resetting, changing scenarios, navigating, switching editor modes, or leaving the demo.
Confirm copying after the clipboard write succeeds and allow retry after a failure.
Preserve stored timestamps when callers reuse or mutate input dates.
Release pending layout measurements and loading timers on unmount.
Clarify file-size and minimum-file-count errors.
Avoid adding an empty stylesheet during image and PDF export.
Plate UI
Responsive scrolling beside large editors
Responsive scrolling around large highlighted native code blocks
Plate UI
Code block copy and drawing controls resolve their current document position when used.
Plate UI
Keep comment drafts intact when submitting with the keyboard
Plate UI
Use AIKit and DndKit to enable AI commands and drag and drop with ordinary Plate and Editor composition. Share one AI stream across editor views and retain custom transports and drag managers.
Provide tooltips in standalone installs.
Focus the calendar when opening the date picker.
Preserve server rendering and input semantics in Base UI editors.
Plate UI
Preserve custom command components and their cleanup with asChild.
Plate UI
Run callback ref cleanup when popover anchors and command lists unmount.
Plate UI
Code blocks preserve selection, composition and indentation with incremental CodeMirror syntax.
Plate UI
Open the Link toolbar above its selection without installing Comments or Suggestions.
Plate UI
Preserve discussion state across edits and failed saves
Plate UI
Import YjsPlugin from the copied remote-cursor-overlay file for selection highlights, carets, and labels. Edit that file to customize their colors, opacity, and classes.
Plate UI
Store multiline code in one text child and remove the code-line component and virtualization dependency.
- Remove the code-line plugin and component when updating copied editor code.
Plate UI
Keep comments reachable after complete text deletion, and restore exact highlights through undo and redo.
Render thread message bodies with the static Plate view so replies do not mount nested editable runtimes.
Plate UI
Keep a 10,000-line highlighted code block responsive with bounded CodeMirror DOM and Plate-owned editing and history.
Keep large highlighted code blocks responsive when list support is installed.
Plate UI
Open each block's combined comments and suggestions in Floating Discussion, including exact overlaps, block-caret creation, and static or read-only highlights.
- Install
DiscussionKitfor Floating Discussion and per-block affordances. - Replace
block-discussionwithdiscussion.
Show suggestion authors, changes, attached comment threads, and Accept or Reject actions beside ordinary comments.
Stage AI comments for Accept or Reject before publishing their thread records.
Keep the toolbar above the editor and use Floating Discussion on narrow screens without collapsing the editing surface.
Load fetched thread records through CommentsPlugin.configure({ initialState: { initialThreads } }), preserving ranges, authors and timestamps. Read records for saving through api.getThreads.
Preserve inserted and removed suggestion markup in static HTML exports.
Preserve code token colors and indentation through the copied DOCX export preset.
Plate UI
Render editor highlights through plugin decorations.
Plate UI
Configure components, mark attributes, and structural UI through the owning plugin's component, render, and slots fields.
Plate UI
Open and reopen Date popovers on the first click.
Plate UI
Open inline equation editors on the first click.
Plate UI
Define component-owned prop shapes at their component signatures and reserve named prop contracts for exported reuse.
Plate UI
Keep hidden media captions mounted during selection changes.
Plate UI
Search documents with a visible Find bar and transient, keyboard-navigable matches.
Demonstrate native inactive-selection paint for expanded ranges and collapsed carets without an editor plugin.
Keep the canonical selection visible while marked editor controls own focus, and clear it on every unmarked focus transition.
Position floating controls from the exact mounted editor selection, reveal them only after placement resolves, and mount complete toolbar components with only the Editable ref. FloatingToolbar accepts optional custom children.
Render remote Yjs selections and carets through YjsPlugin slots with per-cursor updates.
Focus the URL input when the floating form opens, including from an empty paragraph, and preserve keyboard navigation between its fields.
Plate UI
Fix annotation hover scrolling
Plate UI
Open Date calendars on the first click.
Plate UI
Keep block equations full-width and centered.
Plate UI
Fix table of contents clicks so the selected heading scrolls into view and stays there.
Plate UI
Use nested semantic Details and Summary nodes with transient disclosure state that each editor root keeps for itself.
Plate UI
Use useCreateEditor for React editor creation. use-chat exports useEditorChat, block discussion exports BlockResolvedSuggestion, and missing required values report contextual errors.
Plate UI
Use platejs for registry editor dependencies.
Plate UI
Keep required-value checks in each component with contextual errors and no shared registry dependency.
Plate UI
Export complete editor block composition as PlateEditor while keeping the shared presentation component named Editor.
Plate UI
Install with platejs and copied helper source; select-editor includes its controlled command implementation.
Plate UI
Compose node-selection highlighting and drag selection with NodeSelectionHighlight and NodeSelectionDrag from platejs/react. Link their API and demo from the Editor registry page.
Plate UI
Keep comment popovers anchored to their text, clear abandoned draft marks without moving the live selection or caret, and keep the floating toolbar available after resolving a comment.
Plate UI
Use flat input rows with an edge-to-edge separator.
Plate UI
Hide block and cell drag handles during table cell selection. Keep row drag handles for selections within one row, and hide them across rows.
Plate UI
Hide native text highlight while selecting multiple table cells.
Keep the text cursor while resize handles are ignored during cell-selection drags.
Plate UI
Select custom Plate block content from its schema and let tables render their own selection geometry.
Plate UI
Install Base UI source with base-nova by default. Explicit Radix styles select the matching interaction adapters.
Install Nova, Vega, Maia, Lyra, Mira, Luma, Sera, or Rhea code styles without duplicating the complete editor registry.
Compose popovers, dropdowns, and context menus through the selected provider without provider-specific trigger, focus, delay, or value props in consumer code.
Install the docs block with Base or Radix without fixed Radix primitive packages.
Create a fresh Next project with a complete dependency graph, collision-free inline-suggestion imports, and current copied-source types.
Plate UI
Preserve one selection highlight while changing font size
Plate UI
Paint the block-selection marquee during gutter drags
Plate UI
Fix Plate-to-HTML rendering for values with element IDs
Plate UI
Resolve links without a website-only locale utility.
Plate UI
Install the authored editor kit without generated TypeScript or schema snapshots. Generate exact contracts from the application's customized plugin module and enforce plate generate --check <entry> in CI.
- Delete unused plugins.generated.ts and plugins.schema.json files. If the app needs exact contracts, install @platejs/cli, regenerate from its local plugin module, and enforce plate generate --check <entry> in CI.
Plate UI
Keep editor focus and the floating toolbar visible while toolbar menus handle pointer input.
Plate UI
Preserve the active editor value while focus moves into a control, and reopen inline equations only after selection returns.
Give each browser object URL one source lifetime and revoke it when that source is replaced or unmounted.
Render the selected-cell drag handle at its cell owner and keep fake-stream cancellation inside its transport.
Use named React Compiler components without manual memo wrappers or display-name assignments.
Plate UI
The copied editor renders a Pointer Events marquee while exact one-or-many membership stays in editor selection. No selection plugin, area abstraction, or selection package is required.
Plate UI
Activate block drag behavior only during pointer and drag interactions while preserving the stable block DOM.
Plate UI
Show nested property values as JSON in version history updates.
Plate UI
Use native, keyboard-accessible controls for split toolbars, media upload, and image preview actions.
Restrict embedded content with explicit sandbox and referrer policies.
Plate UI
Accept anchored removal suggestions without crashing the editor.
Plate UI
Store dates under one value and persisted associations under ref.
Use flat lowercase drawing fields and store equation source under latex.
Apply the v54 migration, field ownership, and numeric-domain contracts.
Plate UI
Keep controlled tags and decorated text stable during typing and undo.
Plate UI
Keep UploadThing server routing in uploadthing and colocate client upload state in media-placeholder.
- Keep custom upload state in your media placeholder component;
uploadthinginstalls only the server router.
Keep single-consumer subscription and picker state inside their owning component families.
Plate UI
Keep DOCX file import and export in the DOCX example while default editors retain DOCX paste support.
Plate UI
Keep reusable editor composition migration-free and teach named lineage only in the dedicated migration example.
- Define your named schema and migration chain in the application persistence owner;
editor-pluginsexports onlyEditorKit.
Plate UI
Bind the copied editor to a named schema and run its v53-to-v54 document migration before rendering.
Plate UI
Install self-contained families with product copy, limits, styling, endpoints, and interaction policy in copied source; table composes renderer layout and pointer behavior directly.
Plate UI
Use one semantic Heading, boundary-only list numbering, semantic Table fields, intrinsic Media dimensions, and the generated v54 editor contract.
Plate UI
Install copied editor features from one flat editor namespace
- Move copied Plate imports from @/components/ui and @/components/editor/plugins to @/components/editor.
- Install feature items without -kit or -base-kit suffixes; FooKit remains the exported plugin tuple.
- Import feature-owned renderers and family-only components from the owning feature file, such as @/components/editor/footnote and @plate/footnote.
- Use semantic renderer item names such as blockquote and media-image instead of *-node; install static renderers from their matching *-static items.
Plate UI
Keep interaction state and behavior inside direct React 19 component families.
- Rename the FloatingToolbar state prop to options.
Install the exact app-local descriptors owned by their copied UI families.
Plate UI
Compose DOCX renderers through target plugins. Install DocxIOPlugin explicitly in the live editor when using its scoped import or export API.
Plate UI
Reuse the primary editor composition directly, compose Copilot only in its demo, and install ElementIdPlugin only when persisted IDs are required.
- Import the primary editor composition directly outside the Copilot demo. Append CopilotKit only in copilot-demo.
- Install ElementIdPlugin explicitly when persisted element IDs or Markdown withBlockId are required.
- Install CodeDrawingPlugin or ExcalidrawPlugin explicitly in editors that use those specialized nodes.
- Remove schema: EditorSchema from copied editor setup. Add an application-owned schema id and version only for persisted schema lineage, migrations, history serialization, or collaboration.
Keep code drawing and Excalidraw explicit in the demos that use them.
Derive schema identity from the installed plugin composition instead of publishing application lineage from copied registry code.
Plate UI
Correlate comments and table-cell edits with request-local refs instead of persisted element IDs.
Plate UI
Fix heading renderer prop types across H1-H6 components.
Plate UI
Install every required package and copied registry file without redundant declarations.
Plate UI
Build live TOC navigation and DOCX-local bookmarks from runtime node keys.
Install persisted element IDs explicitly as editor product policy.
Plate UI
Infer copied renderer props from their plugin descriptors.
Plate UI
Apply font marks to text and keep selection highlighting aligned after changing font size.
Plate UI
Use the typed keyboard plugin command while preserving one atomic selection update.
Plate UI
Restore editor focus when the table menu closes.
Plate UI
Fix mouse-drag block selection
Plate UI
Close the inline equation editor at an arrow-key boundary.
Plate UI
Apply formatting without losing the active text selection.
Plate UI
Keep direct block drag and drop stable
Plate UI
Keep typing responsive while comments and suggestions are enabled.
Plate UI
Infer node component props from plugin descriptors
Plate UI
Use one table cell plugin and component for data and header cells.
- Use TableCellElement for data and header cells. Header nodes use type: 'tableCell' with header: true.
Plate UI
Read final element types and property keys from installed schema handles.
Plate UI
Read the stored AI preview when insert or replace commands run, so custom commands pass only formatting options.
Plate UI
Configure feature renderers explicitly while installing each plugin name once.
Read cursor geometry and schema-configured node ids from their package owners.
Let resize handles derive read-only state from the editor.
Use the DnD block selection-and-focus controller after row drops.
Plate UI
Render without installing the code drawing plugin twice.
Plate UI
Seed editor-local plugin stores with initialState.
Read, update, and subscribe to plugin state through the typed store API.
Configure and update plugin store state through the same API used by copied registry code.
Plate UI
Use one script mark for subscript and superscript
- For persisted v53 script marks, add migrateV54 to the app's defineDocumentMigrations chain.
Plate UI
Bind static components without React plugin imports
Plate UI
Run two independent local Yjs peers with connection, schema, history, and remote cursor controls.
Plate UI
Configure Markdown parsing without installing a renderer-specific Footnote preset.
Compose the shared Markdown parser with the matching live or static Footnote renderers exactly once.
Install only the presets their copied source composes, without unrelated static/base counterparts.
Preserve Indent support while reserving Tab and Shift+Tab navigation for tabbable elements.
Plate UI
Configure text color palettes, optionally control recent colors, and navigate color grids with the keyboard.
Plate UI
Keep suggestion and trailing-block capabilities independently composable
Plate UI
Use installed feature plugins instead of raw type dispatch in toolbar controls.
Plate UI
Style placeholders and drop cursors in the copied editor component while Plite supplies their structural DOM behavior.
Plate UI
Use the installed List plugin for list-aware block dragging
Plate UI
Compose editor variants with explicit plugin arrays
Plate UI
Render direct media caption children, keep an empty caption hidden until asset focus, and separate asset selection from caption editing.
- Remove CaptionPlugin from media kits and render each media element's direct children as its caption; use [{ text: '' }] when the caption is absent.
- For persisted v53 media captions, add migrateV54 to the app's defineDocumentMigrations chain.
Plate UI
Use plugin-scoped media insertion in copied editor transforms.
Plate UI
Keep plugin configuration terminal
Plate UI
Use the installed plugin's typed editor APIs with Plate v54.
Plate UI
Wire list toolbar controls to ListPlugin
Plate UI
Open the date picker reliably inside Plite editors.
Plate UI
Insert code blocks, drawings, Excalidraw canvases, tables, and dropped media through their installed commands with explicit relational or path placement.
Plate UI
Fix preserved-space wrapping so inserted space runs stay inside editable and static editor widths.
Plate UILatest
Install editor kit files through the configured components alias so relative ./plugins/* imports resolve after shadcn CLI adds.
Plate UI
Show the selected language label in read-only and static rendering. Set showLanguageLabel={false} on the component to hide it.
Plate UI
Fix column drag and drop by attaching the DnD drop target ref to the rendered column element so horizontal drop lines can resolve a valid target.