github udecode/plate v54.0.0-beta.13
v54.0.0-beta.13 (2026-12-01)

pre-releaseone hour ago

@platejs/cli

Patch Changes

  • 101ecde by @zbeyens –

    • Add plate sync for three-way hash-tracked shadcn registry UI updates that preserve local customizations and write upstream review patches
    • Add plate skills sync for syncing SHA-256 verified SkillBundleV1 skill bundles with Bearer token support via --token-env
  • 8bf4dd4 by @zbeyens – Forward plate verify [args...] verbatim to a local plate-verify executable in node_modules/.bin or PATH.

@platejs/test

Patch Changes

  • 8bf4dd4 by @zbeyens – Add createEditorArbitrary for deterministic, zero-dependency document generation from a compiled EditorSchemaContract.

platejs

Patch Changes

  • 7126f37 by @zbeyens – Add optional onTrace lifecycle hook and EditorAgentTraceEvent type to platejs/ai (createEditorAgent, createSyncServerAgent, and useEditorAgent).

  • 79c2f03 by @zbeyens – Report invalid HTML DOM attribute names as lossy unsupported-content warnings, enforce <style> stylesheet budgets in UTF-8 bytes, preserve schema validation details on DOCX decode-failed errors, and remove module-global DOM caching from WordPastePlugin

  • 22d2df5 by @zbeyens – Harden DOCX customXml review-record verification against forged or orphaned authored-* records and causal clock jumps (also refusing retainSource when a review part fails verification), bound <style> inlining matched declarations and merged style bytes in HTML parsing, clamp mso-tab-count to [0, 32] and strip CSS comments in Word table style cleanup, and detect Excel Generator meta tags in WordPastePlugin.

  • 8e65a20 by @zbeyens – Add unified 6-action comment lifecycle (create, reply, edit, delete, resolve, reopen), filtered editor_list_comments, EditorReadBlock.openComments, neutral meta.tool: 'read_ink' presence metadata, and confinement/hook fixes in platejs/ai and platejs/ai/react

  • c06e164 by @zbeyens –

    • Isolate BaseFindPlugin in-transaction updates so rolled-back composed transactions never leak draft matches, skip advances, or clear live highlights
    • Advance BaseFindPlugin update.replace() past locked, void, and struck-suggestion active matches without mutating the document or pushing undo steps
    • Paint BaseFindPlugin highlights in AuthoredPlugin preview views and invalidate cached searches after schema swaps
  • 6891e1c by @zbeyens – Harden DOCX reviewPart admission against non-authored records, DOCX-dropped properties (locked), disallowed link schemes, and hidden deletions, and enforce schema admission in WordPastePlugin equation materialization.

  • 7d21662 by @zbeyens –

    • Validate parseHtml options before browser DOM or linkedom setup and validate importDocx options before AbortSignal checks so invalid lossPolicy and limits always throw TypeError.
    • Report schema-repair and decode-failed diagnostics when fitting imported DOCX word/comments.xml bodies instead of repairing silently or throwing uncaught schema errors, and clarify the DOCX omitted-image diagnostic message.
    • Skip DOMParser in WordPastePlugin for non-Office HTML clipboard payloads and classify platejs/docx/import and platejs/docx/export as headless Node entrypoints.
  • 4f47b9f by @zbeyens –

    • Round-trip paragraph lineHeight and non-list indent through DOCX import and export.
    • Decode pasted HTML margin indentation across px, pt, em, rem, in, cm, and mm units.
    • Reject direct nested columnGroup nodes inside column elements in the schema.
  • 31c2691 by @zbeyens – Keep Alt, Ctrl, and Meta arrow shortcuts browser-owned on ResizeHandle and skip already-prevented file drags and drops in UploadPlugin

  • 5374e45 by @zbeyens – Leave Ctrl+Tab, Alt+Tab, and Meta+Tab to the browser instead of moving focus in TabbablePlugin

  • ab56885 by @zbeyens –

    • Fix BaseCommentsPlugin applyRemote upserts to promote live orphan and pending composer anchors instead of detaching or Tier-3-teleporting them, and retire matching pending composers on remote commit handoff.
  • a5d6548 by @zbeyens –

    • Export fitCommentBody(body, { to, from? }) and FitCommentBodyOptions from platejs/comments to adapt comment values to a target editor schema while projecting foreign void elements from the source editor's plain-text formats.
    • Export SyncRefusal and isSyncRefusal from platejs/sync.
    • Rename CommentThreadIndex.changeThreads to CommentThreadIndex.groupThreads in platejs/comments/react, keyed by every pending authored group ID across split suggestion groups.
    • Fix unresolved comment anchor retries after adjacent block edits or interior block deletions and report 'ambiguous-quote' for overlapping repeated quotes when occurrence is omitted.

    Migration: Replace index.changeThreads with index.groupThreads keyed by AuthoredChangeGroup.id:

    const threadIds = index.groupThreads.get(group.id) ?? [];
  • 821fb39 by @zbeyens –

    • Fix DOCX export comment anchoring on void blocks (horizontalRule, equation, captionless image, and toc), mark preservation on markable { dropped, text } inline voids, CommentReference style emission, and JPEG dimension parsing with standalone markers
    • Fix DOCX import security and loss-policy gaps: enforce XML/relationship limits and lossy inventory on uppercase .XML/.RELS part names, block smuggled non-decoded media elements and spoofed hyperlink URLs in customXml review parts, report dangling endnote references, reject duplicate review parts, preserve end-of-paragraph to void-block comment anchors, split review-part fallback diagnostics from native revisions, and normalize pre-aborted signals without .reason
    • Fix Word paste hidden-text detection (mso-hide: all and stylesheet display: none on elements with resource-bearing inline CSS without inverting !important cascade order), container-block HTML wrapping, newline-delimited RTF image hex parsing, and redundant DOM parsing
  • 3394f6c by @zbeyens –

    • Reject duplicate ZIP entry names (exact and case-insensitive) in importDocx, enforce XML depth/node limits and loss inventory across all OPC-linked XML parts regardless of filename case or extension, tighten customXml review-part verification across stored, proposed, and accepted views (blocking link, equation, void, and authored mark smuggling), strip dropped properties from exported review parts, and report unresolved <w:hyperlink> targets as lossy under lossPolicy: 'reject'
    • Synthesize Word w:rPrChange revisions through the canonical run-property compiler so pending formatting suggestions preserve color, background, font, highlight, code, and keyboard marks, stamp w14:paraId on the last paragraph of multi-paragraph comments per [MS-DOCX], parse mm dimensions and reject non-positive margins/pageSize values, attach comments on void blocks, preserve rowSpan table review bookmarks and detached review records, scale wide-table cell widths to match w:tblGrid, resolve highlight + backgroundColor without conflicting Word fills, and apply styles.taskChecked to checked task headings and image captions
    • Fix retained-source preservation limits and case-insensitive part matching, Word table <w:bidiVisual w:val="0"/> detection, native w:pPrChange image and list restoration, package-wide maxRevisions, non-combining m:acc math accents, nested OMML revision counting, renderLatexToOmml fallback reporting, numStyleLink basedOn inheritance, code-block indent warnings, named-root table review diagnostics, toDocxComments empty-message counts and reply targets, decodeIrBlocks block coverage, XML 1.0 unpaired surrogate stripping, and Word clipboard paste prototype-key crashes and RTF hex memory spikes
  • eb95bab by @zbeyens –

    • Remove the optional jszip peer dependency from platejs/docx/export so DOCX export and import both use @zip.js/zip.js directly without extra packages
    • Decode embedded raster body images through BaseImagePlugin (bounded by DocxImportLimits.maxImageBytes and maxTotalImageBytes) and round-trip codeBlock nodes through Word HTML Preformatted styles
    • Report unresolved Word footnote references as lossy diagnostics, reject duplicate root metadata relationships and uninspected ZIP metadata during source retention, classify dropped endnotes as invalidated, and cap Word RTF clipboard images at 5 MiB per image / 20 MiB total
  • e151054 by @zbeyens – Inline safe <style> CSS rules (including in-body style blocks and unconditional @media screen/all rules) during HTML parsing in both browser and server entrypoints while preserving inline-style precedence, !important, resource-bearing CSS filtering (including CRLF hex escapes), and linear-time CSS/URL parsing.

  • f8d0bdf by @zbeyens –

    • Enforce BaseLockPlugin block and content-root lock rules during SyncServer peer admission while preserving client remote replay, server.run turns, lockWriteExemption fills, and authorized lock/unlock commits
  • b9ae8ae by @zbeyens –

    • Serialize non-paragraph list items admitted by BaseListPlugin's configured targetPlugins (such as headings, blockquotes, code blocks, and <details>) as Markdown list items (including inside GFM table cells) while checking BaseListPlugin property ownership so custom plugins with their own listType property are never hijacked on serialize or parse.
    • Preserve list numbering, nesting, headings, and multi-paragraph containers when copying multi-block open selections as text/markdown while keeping single-block partial-selection unwrapping.
    • Split custom block elements decoded from inline Markdown nodes out of paragraphs using schema block/inline metadata instead of hardcoding image.
    • Elide key-reordered omitDefault JSON tag attributes on Markdown serialize, escape attributes and preserve enclosing marks on refused inline tag fallbacks, skip synthetic emoji probes for non-remark-emoji custom plugins on serialize, preserve leading spaces after a BOM on plain-text Markdown paste, and halt tail-healing cleanly on unclosed <https://... autolinks without poisoning later inline code.
  • e0815bb by @zbeyens –

    • Stop preventing default on Shift and keyup events in NodeSelection keyboard navigation and reuse Plite's Shadow DOM composed-range helper
  • 1a24219 by @zbeyens –

    • Keep incomplete streaming Markdown links inert (#) in incompleteLinks: 'placeholder' mode (including nested-bracket links and linked badges), hold unclosed streaming images until ) closes in both 'placeholder' and 'text' modes, preserve outer emphasis in incompleteLinks: 'text' when labels contain balanced markers, support balanced parentheses inside streaming URLs, suppress partial 1-2 character setext underline heading flashes (including trailing space/tab and blockquotes), and keep incremental GFM table row streaming active across 1-3 leading spaces.
    • Reuse unchanged leading child rows inside growing containers in EditorStatic (both plain and decorated) so streaming tables stay O(N) instead of re-rendering every prior row on each tick.
  • 87d20bd by @zbeyens – Change useAuthoredGroups in platejs/authored/react to accept an optional AuthoredGroupQuery ({ at?, authorId? }) matching AuthoredPlugin.read.groups, and re-export AuthoredGroupQuery from platejs/authored/react.

    Migration: Replace positional useAuthoredGroups(blockKey) calls with useAuthoredGroups({ at: blockKey }), or call useAuthoredGroups() to read all pending groups in document order.

  • 218d65a by @zbeyens – Clamp extreme and staircase raw rowSpan/colSpan overflow during table paste, ignore cut in read-only and authored-preview table views, preserve IME composition during table arrow and select-all keys, return false from useTableResize on grid-locked or authored-preview tables, and guard column-handle drag start and click-suppression timers in useTableControls.

plitejs

Patch Changes

  • 0191834 by @zbeyens – Preserve builder-recorded V4 steps on plain editing commits when AuthoredPlugin is installed so replacing selected text over a concurrent offline deletion keeps every typed letter.

  • 31c2691 by @zbeyens – Skip already-prevented and IME-composing keydown events in useEditorHistory().onKeyDown

  • b06aae0 by @zbeyens – Allow native browser keys such as Spacebar scrolling in non-editable read-only editors instead of calling preventDefault() on keydown.

  • c4fbf66 by @zbeyens – Fix Shadow DOM selection, integrity observation, and textToCaret resolution across nested shadow roots, stop onInput stopPropagation() calls from suppressing pending editor input flushes, block modified read-only Delete/Backspace hotkeys on contentEditable hosts, fix multi-leaf native text fallback offsets, ignore non-primary mouseup events in onPointerSelectionEnd, and clean up active Android compositions on root teardown.

  • 33a649e by @zbeyens – Leave auxiliary mouse buttons, secondary clicks on root chrome or blank editable roots, and non-primary mouse drags to the browser

  • 5374e45 by @zbeyens – Leave secondary and auxiliary mouse presses on void and object surfaces to the browser

  • 87d20bd by @zbeyens – Pair shifted merged table cells (colSpan/rowSpan) in compare when covered columns and rows align so edits inside shifted merged cells diff inline instead of replacing the whole cell.

  • 7272c17 by @zbeyens – Allow draggable button controls inside inline voids to initiate and accept native drag moves, suppress native dragover handling in read-only editors, and measure void drop ranges against the enclosing void host using paragraph direction for RTL.

  • 6ec09da by @natamox – Fix iOS Safari Enter auto-capitalization on new paragraphs and keep iOS Backspace synchronized with Korean IME composition across all device languages.

  • e0815bb by @zbeyens –

    • Preserve named roots across state.points.*, state.ranges.*, and character-step reads, and reject mismatched roots in range()
    • Land a collapsed caret in the default block after deleting all blocks in a min: 1 or prefix root via NodeSelection
    • Deep-freeze SelectionApi.text insertion marks and Anchor.resolve() values, and accept omitted options in tx.anchor and editor.anchor
    • Read Shadow DOM selection endpoints consistently across selection import/export and restore partial expanded delete fallback in beforeinput
  • f8d0bdf by @zbeyens –

    • Add 'sync-admit' canonical update tag for SyncServer peer candidate admission and surface plugin EditorRefusalError refusals as non-abuse 'policy' receipts with refusal reason codes
  • a5d6548 by @zbeyens –

    • Export SyncRefusal and isSyncRefusal from plitejs/sync to narrow transaction refusals ('sync-opening', 'sync-stopped', 'sync-read-only', and 'sync-decide-denied').
  • 624209c by @sin6626 – Emit onPointerSelectionEnd for primary touch and pen taps and touch long-press selections so Format Painter works by touch on Android

Full changelog: v54.0.0-beta.12...v54.0.0-beta.13

Don't miss a new plate release

NewReleases is sending notifications on new releases.