github udecode/plate v54.0.0-beta.16
v54.0.0-beta.16 (2026-12-03)

pre-release55 minutes ago

@platejs/cli

Published @platejs/cli@54.0.0-beta.16.

@platejs/test

Published @platejs/test@54.0.0-beta.16.

platejs

Patch Changes

  • 0e9bd17 by @zbeyens –

    • Admit real Microsoft Word for Mac 0xa220 zero-padded ZIP growth hints, Central-Directory-verified bit-3 data descriptors, canonical Transitional and Strict passive OOXML namespaces, allowlisted Word fields, and XML-only charts and SmartArt under importDocx(..., { retainSource: true }) while keeping word/embeddings/* and active payloads refused.
    • Preserve untouched Word body units, custom paragraph styles and legal numbering on in-place edited clauses, styles.xml, theme1.xml, numbering.xml, settings.xml, fontTable.xml, multi-section headers and footers, and surviving endnotes.xml entries when exporting edits with a retained Transitional DocxSource, while enforcing non-review disclosure checks on accepted and proposed exports.
    • Add optional symmetric getAuthor (sharing DocxCommentAuthor) to exportDocx and importDocx so tracked changes display human author names in Word and verify back to canonical user IDs on re-import without trusting word/people.xml.
    • Round-trip multiple Word table row revisions (w:trPr/w:ins, w:trPr/w:del), contiguous whole-column revisions (w:cellIns, w:cellDel, w:tblGridChange), non-crossing row revisions in merged tables, cell vertical alignment (w:vAlign), and table, row, and cell property revisions (w:tblPrChange, w:trPrChange, w:tcPrChange, and standalone w:tblGridChange) across exportDocx and importDocx.
    • Round-trip editable Word dynamic fields (PAGE, NUMPAGES, REF, MERGEFIELD, DATE, SEQ) through BaseFieldPlugin (wordInstruction), body and comment @mentions through BaseMentionPlugin (using native mailto: hyperlinks in word/comments.xml for Word 365 Modern Comments compatibility), and w16cex comment reactions (DocxComment.reactions in word/commentsExtensible.xml).
    • Export headless BasePaginationPlugin from platejs/pagination and unify BasePaginationPlugin/PaginationPlugin layout.page multi-section page settings (orientation, customSize, columns, sections, differentFirstPage, differentOddEven) and editable header:*/footer:* named roots with exportDocx and importDocx, supporting tracked changes, comments, and dynamic fields inside headers and footers.
  • 8de9758 by @zbeyens – Add Shift-drag and hold-to-straighten snapping plus Escape-to-exit in platejs/ink/react

  • 36e5a27 by @zbeyens – Improve Word .docx tracked changes and comments fidelity:

    • Export full 5-part modern Word comment packages (comments.xml, commentsExtended.xml, commentsIds.xml, commentsExtensible.xml, and people.xml) with valid MS-DOCX relationships, UTC timestamps, valid 3-entry theme1.xml style lists, and Word compatibilityMode="15" so exported .docx files open cleanly in Microsoft Word Desktop without recovery prompts or Compatibility Mode.
    • Import Word commentsExtensible.xml UTC dates (w16cex:dateUtc), native run/paragraph format revisions (w:rPrChange, w:pPrChange), paired move revisions (w:moveFrom/w:moveTo), point-anchored comments, and lossless table row revisions (w:trPr/w:ins|w:del).
    • Retain the .docx source on round-trip when multiple authors share one editor instance.
  • e20d5ff by @zbeyens – Add FindReplaceOptions (preserveCase and opt-in expandCaptures) to BaseFindPlugin's update.replace and update.replaceAll, resolving regex captures against each match's pre-mutation text run and skipping identical multi-leaf replacements without mutating marks or history

  • ff9f40a by @zbeyens –

    • Re-export defineRecordSet, fractional-index helpers, and record CRDT primitives from platejs.
    • Declare BaseInkPlugin ink-digitized as a typed mutable: true record set and update digitized metadata atomically without dropping and recreating records.
  • b0e7e42 by @zbeyens –

    • Add automatic table creation and single-cell fill or expansion when pasting uniform multi-row tab-separated text into TablePlugin
    • Decode RFC 4180 escaped internal quotes in tab-separated text and refuse structural table paste expansion on grid-locked tables
  • 3c4e8bf by @zbeyens – Replace BlockPlaceholderPlugin placeholders and query state with a single placeholder string or resolver callback, rename BlockPlaceholderQueryContext to BlockPlaceholderContext, export BlockPlaceholderResolver, and suppress double placeholders on single empty container blocks when EditorContent has a placeholder prop.

    Migration: Replace placeholders and query with placeholder:

    BlockPlaceholderPlugin.configure({
      initialState: {
        placeholder: ({ path, type }) =>
          path.length === 1 && type === 'paragraph'
            ? 'Type something...'
            : undefined,
      },
    });
  • b8a089d by @zbeyens – Add table presentation properties (borderStyle, density, layout, striped, stickyHeader, stickyColumn, cell verticalAlign), headless column sorting (read.canSortColumn, update.sortColumn), tabular serialization (read.serialize for CSV, Markdown, and TSV), and useTableControls double-click column auto-fit plus between-axis + insert buttons (getInsertButtonProps).

plitejs

Patch Changes

  • b0e7e42 by @zbeyens – Resolve stored grid nodes inside projected command frames in AuthoredPlugin read.gridLocked.

  • b63f05c by @zbeyens –

    • Allow multiple compatible pending row, column, and independent format changes in one authored table grid, including row revisions that do not cross vertical merge boundaries, while keeping all accept and reject decision orders rectangular.
    • Expose mark-aware projectLocationMap on NativeAuthoredDocumentCapability and remove the legacy diff-based projectAuthoredRange helper.
    • Support closed-schema wildcard named-root families (prefix:*, such as header:* and footer:*) in Plite core schema compilation and document fitting, and extend plitejs/pagination PageSettings and paginationPageField with orientation, customSize, columns, sections, differentFirstPage, and differentOddEven.
  • ff9f40a by @zbeyens –

    • Add typed mutable CRDT record sets (defineRecordSet, SchemaRecordSet fields, mixins, tagField, mutable, orderField, scope: 'session' | 'document', unknownFields, and per-field acl / scopeTags) with read.records.*, tx.records.patch, commit.changed.records(), and O(1) dependsOn: 'records' | { recordSet, id?, field? } selector buckets.
    • Export base-62 fractional-index utilities (fractionalKeyBetween, fractionalKeysBetween, isValidFractionalKey, compareFractionalKeys) and bounded join-semilattice record CRDT primitives (createRecordStamp, compareRecordStamp, createRecordCrdtState, applyRecordCrdtOp, mergeRecordCrdtState, materializeRecordCrdtState).
    • Replace the v4 set_register wire step with unified patch_record (put | patch | drop), store records['shared-state'] entries as direct JSON { value, writeId } instead of double-encoded strings, and bump SYNC_RULES to 12.

Full changelog: v54.0.0-beta.15...v54.0.0-beta.16

Don't miss a new plate release

NewReleases is sending notifications on new releases.