@platejs/cli
Published @platejs/cli@54.0.0-beta.16.
@platejs/test
Published @platejs/test@54.0.0-beta.16.
platejs
Patch Changes
-
- Admit real Microsoft Word for Mac
0xa220zero-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 underimportDocx(..., { retainSource: true })while keepingword/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 survivingendnotes.xmlentries when exporting edits with a retained TransitionalDocxSource, while enforcing non-review disclosure checks onacceptedandproposedexports. - Add optional symmetric
getAuthor(sharingDocxCommentAuthor) toexportDocxandimportDocxso tracked changes display human author names in Word and verify back to canonical user IDs on re-import without trustingword/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 standalonew:tblGridChange) acrossexportDocxandimportDocx. - Round-trip editable Word dynamic fields (
PAGE,NUMPAGES,REF,MERGEFIELD,DATE,SEQ) throughBaseFieldPlugin(wordInstruction), body and comment@mentionsthroughBaseMentionPlugin(using nativemailto:hyperlinks inword/comments.xmlfor Word 365 Modern Comments compatibility), andw16cexcomment reactions (DocxComment.reactionsinword/commentsExtensible.xml). - Export headless
BasePaginationPluginfromplatejs/paginationand unifyBasePaginationPlugin/PaginationPluginlayout.pagemulti-section page settings (orientation,customSize,columns,sections,differentFirstPage,differentOddEven) and editableheader:*/footer:*named roots withexportDocxandimportDocx, supporting tracked changes, comments, and dynamic fields inside headers and footers.
- Admit real Microsoft Word for Mac
-
8de9758by @zbeyens – Add Shift-drag and hold-to-straighten snapping plus Escape-to-exit inplatejs/ink/react -
36e5a27by @zbeyens – Improve Word.docxtracked changes and comments fidelity:- Export full 5-part modern Word comment packages (
comments.xml,commentsExtended.xml,commentsIds.xml,commentsExtensible.xml, andpeople.xml) with valid MS-DOCX relationships, UTC timestamps, valid 3-entrytheme1.xmlstyle lists, and WordcompatibilityMode="15"so exported.docxfiles open cleanly in Microsoft Word Desktop without recovery prompts or Compatibility Mode. - Import Word
commentsExtensible.xmlUTC 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
.docxsource on round-trip when multiple authors share one editor instance.
- Export full 5-part modern Word comment packages (
-
e20d5ffby @zbeyens – AddFindReplaceOptions(preserveCaseand opt-inexpandCaptures) toBaseFindPlugin'supdate.replaceandupdate.replaceAll, resolving regex captures against each match's pre-mutation text run and skipping identical multi-leaf replacements without mutating marks or history -
- Re-export
defineRecordSet, fractional-index helpers, and record CRDT primitives fromplatejs. - Declare
BaseInkPluginink-digitizedas a typedmutable: truerecord set and update digitized metadata atomically without dropping and recreating records.
- Re-export
-
- 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
- Add automatic table creation and single-cell fill or expansion when pasting uniform multi-row tab-separated text into
-
3c4e8bfby @zbeyens – ReplaceBlockPlaceholderPluginplaceholdersandquerystate with a singleplaceholderstring or resolver callback, renameBlockPlaceholderQueryContexttoBlockPlaceholderContext, exportBlockPlaceholderResolver, and suppress double placeholders on single empty container blocks whenEditorContenthas aplaceholderprop.Migration: Replace
placeholdersandquerywithplaceholder:BlockPlaceholderPlugin.configure({ initialState: { placeholder: ({ path, type }) => path.length === 1 && type === 'paragraph' ? 'Type something...' : undefined, }, });
-
b8a089dby @zbeyens – Add table presentation properties (borderStyle,density,layout,striped,stickyHeader,stickyColumn, cellverticalAlign), headless column sorting (read.canSortColumn,update.sortColumn), tabular serialization (read.serializefor CSV, Markdown, and TSV), anduseTableControlsdouble-click column auto-fit plus between-axis+insert buttons (getInsertButtonProps).
plitejs
Patch Changes
-
b0e7e42by @zbeyens – Resolve stored grid nodes inside projected command frames inAuthoredPluginread.gridLocked. -
- 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
projectLocationMaponNativeAuthoredDocumentCapabilityand remove the legacy diff-basedprojectAuthoredRangehelper. - Support closed-schema wildcard named-root families (
prefix:*, such asheader:*andfooter:*) in Plite core schema compilation and document fitting, and extendplitejs/paginationPageSettingsandpaginationPageFieldwithorientation,customSize,columns,sections,differentFirstPage, anddifferentOddEven.
-
- Add typed mutable CRDT record sets (
defineRecordSet,SchemaRecordSetfields,mixins,tagField,mutable,orderField,scope: 'session' | 'document',unknownFields, and per-fieldacl/scopeTags) withread.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_registerwire step with unifiedpatch_record(put | patch | drop), storerecords['shared-state']entries as direct JSON{ value, writeId }instead of double-encoded strings, and bumpSYNC_RULESto 12.
- Add typed mutable CRDT record sets (
Full changelog: v54.0.0-beta.15...v54.0.0-beta.16