Releases
Minor Changes
2c7a3c9: Use
localefor regional date input in text form fields, including dotted dates and year-first patterns. Remove the unreleaseddateInputOrderprop and setter. Preserve existing dates when locale changes.Form-field dialogs and accessibility labels now honor
i18n, including live catalogue changes.
Patch Changes
0a75175: Preserve pending form values when moving or remounting the editor. Add
PaginatedSurface.save()to validate pending input and refresh REF fields before serialization. Browser automation and paginated React and Vue refs use this save path. Synchronous saves refuse active edits and destroyed surfaces. Field-exit callbacks can throw or remount the editor without changing date interpretation.Preserve nested simple-field results in clipboard HTML. Reject partial field quotes in the server-agent review example before an edit can affect additional text. Refuse tracked deletion or replacement of simple fields with nested result structures instead of leaving old text behind.
Updated dependencies [96d7e74]
Updated dependencies [0a3b35d]
Updated dependencies [82b8e0c]
Updated dependencies [7a18c15]
Updated dependencies [863680d]
Updated dependencies [62a6911]
Updated dependencies [41a3bc7]
Updated dependencies [e295e90]
Updated dependencies [00666a8]
Updated dependencies [a4a9bbc]
Updated dependencies [76a4c5d]
Updated dependencies [b7c82fa]
Updated dependencies [03b88ea]
Updated dependencies [1f207f8]
Updated dependencies [19a420e]
Updated dependencies [485bfd4]
Updated dependencies [da01e25]
Updated dependencies [f416965]
Updated dependencies [954d9d1]
Updated dependencies [6fac0e1]
Updated dependencies [2c7a3c9]
Updated dependencies [85bfd9c]
Updated dependencies [3641f1e]
Updated dependencies [10a0575]
Updated dependencies [0a75175]
Updated dependencies [3ca855b]
Updated dependencies [46c0de2]
Updated dependencies [fdd6045]
Updated dependencies [eb0e520]
Updated dependencies [5505944]
Updated dependencies [b5ab91b]
Updated dependencies [1de0f64]
Updated dependencies [6f7da01]
- @docx-editor.dev/core@2.16.0
- @docx-editor.dev/i18n@2.16.0
Minor Changes
2c7a3c9: Use
localefor regional date input in text form fields, including dotted dates and year-first patterns. Remove the unreleaseddateInputOrderprop and setter. Preserve existing dates when locale changes.Form-field dialogs and accessibility labels now honor
i18n, including live catalogue changes.
Patch Changes
0a75175: Preserve pending form values when moving or remounting the editor. Add
PaginatedSurface.save()to validate pending input and refresh REF fields before serialization. Browser automation and paginated React and Vue refs use this save path. Synchronous saves refuse active edits and destroyed surfaces. Field-exit callbacks can throw or remount the editor without changing date interpretation.Preserve nested simple-field results in clipboard HTML. Reject partial field quotes in the server-agent review example before an edit can affect additional text. Refuse tracked deletion or replacement of simple fields with nested result structures instead of leaving old text behind.
Updated dependencies [96d7e74]
Updated dependencies [0a3b35d]
Updated dependencies [82b8e0c]
Updated dependencies [7a18c15]
Updated dependencies [863680d]
Updated dependencies [62a6911]
Updated dependencies [41a3bc7]
Updated dependencies [e295e90]
Updated dependencies [00666a8]
Updated dependencies [a4a9bbc]
Updated dependencies [76a4c5d]
Updated dependencies [b7c82fa]
Updated dependencies [03b88ea]
Updated dependencies [1f207f8]
Updated dependencies [19a420e]
Updated dependencies [485bfd4]
Updated dependencies [da01e25]
Updated dependencies [f416965]
Updated dependencies [954d9d1]
Updated dependencies [6fac0e1]
Updated dependencies [2c7a3c9]
Updated dependencies [85bfd9c]
Updated dependencies [3641f1e]
Updated dependencies [10a0575]
Updated dependencies [0a75175]
Updated dependencies [3ca855b]
Updated dependencies [46c0de2]
Updated dependencies [fdd6045]
Updated dependencies [eb0e520]
Updated dependencies [5505944]
Updated dependencies [b5ab91b]
Updated dependencies [1de0f64]
Updated dependencies [6f7da01]
- @docx-editor.dev/core@2.16.0
- @docx-editor.dev/i18n@2.16.0
Patch Changes
- Updated dependencies [96d7e74]
- Updated dependencies [0a3b35d]
- Updated dependencies [82b8e0c]
- Updated dependencies [7a18c15]
- Updated dependencies [863680d]
- Updated dependencies [62a6911]
- Updated dependencies [41a3bc7]
- Updated dependencies [e295e90]
- Updated dependencies [00666a8]
- Updated dependencies [a4a9bbc]
- Updated dependencies [76a4c5d]
- Updated dependencies [b7c82fa]
- Updated dependencies [03b88ea]
- Updated dependencies [1f207f8]
- Updated dependencies [19a420e]
- Updated dependencies [485bfd4]
- Updated dependencies [da01e25]
- Updated dependencies [f416965]
- Updated dependencies [954d9d1]
- Updated dependencies [6fac0e1]
- Updated dependencies [2c7a3c9]
- Updated dependencies [85bfd9c]
- Updated dependencies [3641f1e]
- Updated dependencies [10a0575]
- Updated dependencies [0a75175]
- Updated dependencies [3ca855b]
- Updated dependencies [46c0de2]
- Updated dependencies [fdd6045]
- Updated dependencies [eb0e520]
- Updated dependencies [5505944]
- Updated dependencies [b5ab91b]
- Updated dependencies [1de0f64]
- Updated dependencies [6f7da01]
- @docx-editor.dev/core@2.16.0
- @docx-editor.dev/react@2.16.0
- @docx-editor.dev/vue@2.16.0
Patch Changes
- 00666a8: Render, edit, search, and copy text inside smart tags, inline custom XML, and bidirectional run wrappers, and add text form selection, boundary deletion, replacement, field options in React and Vue, and protected filling; Fixes #710
Patch Changes
d5cfeee: Stop
FONT_ASSET_ROOTfrom throwing at module scope under webpack and Turbopack, which took down the whole client bundle of any app that imported this package.Those bundlers replace
new URL('../assets/<face>', import.meta.url)with a bare relative path string for the asset they emitted. Deriving the asset root from one entry with a single-argumentnew URL()therefore threwURL constructor: /_next/static/media/Caladea-Bold.<hash>.ttf is not a valid URLwhile the module was still evaluating, where nothing can catch it.In a bundled build the root now reports a non-
file:URL, which is what consumers already gate on before using it as acreatePackagedFileFetchtrusted root. That holds even when the page itself was opened from disk, as in an Electron renderer or a static export: the bundler moved the faces, so no local directory holds them, and a bundle serving assets from the path root would otherwise have resolved to the filesystem root, whichcreatePackagedFileFetchrejects by throwing.Two ways a packaged face could silently fail to register are also fixed. The
FontFaceURL source read.hrefoff the bundler's string, which isundefined, emitting the literalurl(undefined). And the source was unquoted, so an install path containing characters an unquoted CSSurl()token forbids, parentheses among them, produced a token the browser could not parse.
Minor Changes
- d0bac83: Use the engine's configurable element budget when opening XML parts and identify exceeded resource limits in the server API. Fixes #693.
- 3ca855b: Add Office-shaped server redlining through
Document.changeTrackingModeand standardRange.insertText,delete, andclear. Collaborative agents can author real Word revisions and replicate them to open editors, with atomic commits, revision checks, and typed refusals for unsupported targets.TrackMineOnlyis host-local;TrackAllexplicitly refuses.
Patch Changes
- 82b8e0c: Preserve regional dates during save, keep four-digit years, and reject tracked edits inside rows with pending revisions.
- fdd6045: Preserve pending date input when fonts load, wrap long words after protected text boundaries, and keep default document loads compatible with browser runtimes.
- Updated dependencies [96d7e74]
- Updated dependencies [0a3b35d]
- Updated dependencies [82b8e0c]
- Updated dependencies [7a18c15]
- Updated dependencies [863680d]
- Updated dependencies [62a6911]
- Updated dependencies [41a3bc7]
- Updated dependencies [e295e90]
- Updated dependencies [00666a8]
- Updated dependencies [a4a9bbc]
- Updated dependencies [76a4c5d]
- Updated dependencies [b7c82fa]
- Updated dependencies [03b88ea]
- Updated dependencies [1f207f8]
- Updated dependencies [19a420e]
- Updated dependencies [485bfd4]
- Updated dependencies [da01e25]
- Updated dependencies [f416965]
- Updated dependencies [954d9d1]
- Updated dependencies [6fac0e1]
- Updated dependencies [2c7a3c9]
- Updated dependencies [85bfd9c]
- Updated dependencies [3641f1e]
- Updated dependencies [10a0575]
- Updated dependencies [0a75175]
- Updated dependencies [3ca855b]
- Updated dependencies [46c0de2]
- Updated dependencies [fdd6045]
- Updated dependencies [eb0e520]
- Updated dependencies [5505944]
- Updated dependencies [b5ab91b]
- Updated dependencies [1de0f64]
- Updated dependencies [6f7da01]
- @docx-editor.dev/core@2.16.0
Minor Changes
0a3b35d: Fix East Asian wrapping across formatting changes, preserve full-width number groups, and apply CJK justification and document typography settings.
00666a8: Render, edit, search, and copy text inside smart tags, inline custom XML, and bidirectional run wrappers, and add text form selection, boundary deletion, replacement, field options in React and Vue, and protected filling; Fixes #710
19a420e: Render supported legacy VML photos, annotation groups, and straight WordArt while preserving original XML, shared media, and drawing offsets during edits.
6fac0e1: Keep symbol faces, such as the MS Gothic face a Word checkbox names, out of the font substitution notice, and report them to the font resolver so an app can supply them. Fixes #729, fixes #730
2c7a3c9: Use
localefor regional date input in text form fields, including dotted dates and year-first patterns. Remove the unreleaseddateInputOrderprop and setter. Preserve existing dates when locale changes.Form-field dialogs and accessibility labels now honor
i18n, including live catalogue changes.0a75175: Preserve pending form values when moving or remounting the editor. Add
PaginatedSurface.save()to validate pending input and refresh REF fields before serialization. Browser automation and paginated React and Vue refs use this save path. Synchronous saves refuse active edits and destroyed surfaces. Field-exit callbacks can throw or remount the editor without changing date interpretation.Preserve nested simple-field results in clipboard HTML. Reject partial field quotes in the server-agent review example before an edit can affect additional text. Refuse tracked deletion or replacement of simple fields with nested result structures instead of leaving old text behind.
3ca855b: Add Office-shaped server redlining through
Document.changeTrackingModeand standardRange.insertText,delete, andclear. Collaborative agents can author real Word revisions and replicate them to open editors, with atomic commits, revision checks, and typed refusals for unsupported targets.TrackMineOnlyis host-local;TrackAllexplicitly refuses.1de0f64: Write a suggested replacement as Word does: the deletion first, then the insertion, each under its own revision id, wherever in the paragraph the replaced text sits. Add
replacementLandingto the editor surface and the automation port, so a scripted replacement writes and reports the same position typing does. Fixes #691.
Patch Changes
- 96d7e74: CJK text now wraps at the column width with UAX #14 ideographic break opportunities and basic kinsoku, instead of breaking only at run boundaries or spaces. Fixes #526
- 82b8e0c: Preserve regional dates during save, keep four-digit years, and reject tracked edits inside rows with pending revisions.
- 7a18c15: Render flipped DrawingML paths and open connectors with triangular line ends.
- 863680d: Honor explicit East Asian font hints for Latin-1 symbols, including middle dots, degree signs, multiplication and division signs. Keep ASCII text, model offsets and canonical run formatting unchanged.
- 62a6911: Keep floating image overlays visible beyond their anchor cells while preserving page clipping.
- 41a3bc7: Render checkbox states that omit their font with Word's default MS Gothic font instead of literal hexadecimal text. Fixes #752.
- e295e90: Report omitted legacy drawings and incomplete content scans during export. Preserve usable font faces after partial font-source failures while reporting those failures to strict policy.
- a4a9bbc: Search body, header, and footer text-box stories during Find navigation. Fixes #711
- 76a4c5d: Keep overflowing whitespace-only runs at the end of their current line instead of indenting the next line, preserving their canonical text and caret ranges.
- b7c82fa: Render JPEG photos with large metadata segments and validate their EXIF-oriented dimensions without changing the original media.
- 03b88ea: Position supported legacy PAGE footer frames without adding an extra footer line. Clip fixed-width frames above empty or PAGE anchors while preserving fields, selections, and document structure.
- 1f207f8: Preserve supported legacy full-width table alignment across body, header, footer, text-box, and note stories, with consistent compatibility settings and cache invalidation.
- 485bfd4: Render the DrawingML bilevel picture color mode.
- da01e25: Render numeric positioned text frames and wrap body text around supported floating tables without adding their height to paragraph flow.
- f416965: Avoid quadratic merge time when you paste many distinct images. Fixes #502.
- 954d9d1: Keep focus in outside controls when fonts finish loading, while preserving the editor's saved selection across the font remount.
- 85bfd9c: Keep joined emoji and combining marks intact under East Asian font hints, avoid premature word wrapping at trailing spaces, and preserve terminal floating tables beside empty anchors with bookmarks or paragraph spacing.
- 3641f1e: Improve fidelity for justified lines, East Asian font hints, explicit symbol fonts, drawing and textbox updates, EXIF-oriented JPEG photos, and clicks beside legacy centered PAGE footer frames.
- 10a0575: Fix shared-border spacing between repeated table headers and complete text rows without changing authored borders.
- 46c0de2: Render opaque solid Word 2010 text outlines with explicit RGB colors.
- fdd6045: Preserve pending date input when fonts load, wrap long words after protected text boundaries, and keep default document loads compatible with browser runtimes.
- eb0e520: Enabling suggesting mode without a configured author now returns a clear configuration error and raises it once through the
errorevent, instead of entering the mode and silently ignoring keystrokes. Setting the author later enters the requested mode, and the toolbar's mode menu keeps the other modes available. Fixes #692 - 5505944: Request fonts used by SYMBOL fields and numbering markers when you open a document. Fixes #749.
- b5ab91b: Preserve floating-image text distances, and keep text out of narrow image side gaps.
- 6f7da01: Avoid an extra blank page after simple text-anchored tables with a terminal empty paragraph that fits the same page.
- Updated dependencies [00666a8]
- @docx-editor.dev/i18n@2.16.0
Patch Changes
- Updated dependencies [5284df5]
- Updated dependencies [e9baf4d]
- Updated dependencies [087bb78]
- Updated dependencies [0d81033]
- Updated dependencies [a3819aa]
- Updated dependencies [a53f75c]
- Updated dependencies [36c1f04]
- Updated dependencies [8e6133f]
- Updated dependencies [678fe91]
- Updated dependencies [cfe3fe1]
- Updated dependencies [0e1360d]
- Updated dependencies [2a8e57e]
- @docx-editor.dev/core@2.15.0
- @docx-editor.dev/i18n@2.15.0
Patch Changes
- Updated dependencies [5284df5]
- Updated dependencies [e9baf4d]
- Updated dependencies [087bb78]
- Updated dependencies [0d81033]
- Updated dependencies [a3819aa]
- Updated dependencies [a53f75c]
- Updated dependencies [36c1f04]
- Updated dependencies [8e6133f]
- Updated dependencies [678fe91]
- Updated dependencies [cfe3fe1]
- Updated dependencies [0e1360d]
- Updated dependencies [2a8e57e]
- @docx-editor.dev/core@2.15.0
- @docx-editor.dev/i18n@2.15.0
Patch Changes
- 7dc8b22: Preserve concurrent text edits when another collaborator formats the same run. Fixes #590.
- Updated dependencies [5284df5]
- Updated dependencies [e9baf4d]
- Updated dependencies [087bb78]
- Updated dependencies [0d81033]
- Updated dependencies [a3819aa]
- Updated dependencies [a53f75c]
- Updated dependencies [36c1f04]
- Updated dependencies [8e6133f]
- Updated dependencies [678fe91]
- Updated dependencies [cfe3fe1]
- Updated dependencies [0e1360d]
- Updated dependencies [2a8e57e]
- @docx-editor.dev/core@2.15.0
- @docx-editor.dev/react@2.15.0
- @docx-editor.dev/vue@2.15.0
Patch Changes
1acd366: Stop
FONT_ASSET_ROOTfrom throwing at module scope under webpack and Turbopack, which took down the whole client bundle of any app that imported this package.Those bundlers replace
new URL('../assets/<face>', import.meta.url)with a bare relative path string for the asset they emitted. Deriving the asset root from one entry with a single-argumentnew URL()therefore threwURL constructor: /_next/static/media/Caladea-Bold.<hash>.ttf is not a valid URLwhile the module was still evaluating, where nothing can catch it.In a bundled build the root now reports a non-
file:URL, which is what consumers already gate on before using it as acreatePackagedFileFetchtrusted root. That holds even when the page itself was opened from disk, as in an Electron renderer or a static export: the bundler moved the faces, so no local directory holds them, and a bundle serving assets from the path root would otherwise have resolved to the filesystem root, whichcreatePackagedFileFetchrejects by throwing.Two ways a packaged face could silently fail to register are also fixed. The
FontFaceURL source read.hrefoff the bundler's string, which isundefined, emitting the literalurl(undefined). And the source was unquoted, so an install path containing characters an unquoted CSSurl()token forbids, parentheses among them, produced a token the browser could not parse.
Minor Changes
- 0d81033: Export
FONT_ASSET_ROOTso hosts can confine packaged-font reads to the fonts package without guessing its install path.
Patch Changes
- 5284df5: Preserve one literal asset URL per packaged font face in the ESM browser build so Next.js with Turbopack, Vite, and webpack resolve every requested filename instead of collapsing dynamic URLs to one font. Keep the CommonJS build resolving the same packaged files in Node.
Patch Changes
- Updated dependencies [5284df5]
- Updated dependencies [e9baf4d]
- Updated dependencies [087bb78]
- Updated dependencies [0d81033]
- Updated dependencies [a3819aa]
- Updated dependencies [a53f75c]
- Updated dependencies [36c1f04]
- Updated dependencies [8e6133f]
- Updated dependencies [678fe91]
- Updated dependencies [cfe3fe1]
- Updated dependencies [0e1360d]
- Updated dependencies [2a8e57e]
- @docx-editor.dev/core@2.15.0
Minor Changes
- 5284df5: Add the DOM-free
@docx-editor.dev/core/exportsession with immutable export-ready semantic layouts and shared shaping and resource settlement. Exporters consume the same layout coordinator and semantic records as the browser engine, including page-scoped, exporter-neutral comment and tracked-change provenance that future Markdown, PDF, and other exporters can bind to their own output coordinates. Document-aware font-backed sessions also retain immutable resolution evidence so every exporter can report the exact direct, substituted, incomplete, and failed font origins behind pagination. - 0d81033: Add session-owned font resources, exact shaped text, embedded document fonts, document metadata, internal destinations, and review occurrence geometry to semantic export sessions.
- 8e6133f: Apply live author, mode, translation, and locale changes without rebuilding the editor. Keep Vue root and packaged editor props reactive after mount. A locale catalog change no longer rebuilds the editor. Fixes #695 and #561.
Patch Changes
- e9baf4d: Search headers, footers, footnotes, endnotes, table cells, and saved field results. Fixes #703, fixes #694
- 087bb78: Position page- and margin-anchored floating tables at
tblpYwithout advancing body flow. PreservebtLrcell text, built-up bar fractions, and inline pictures in later columns. Keep automatic line spacing from scaling built-up equations and changing pagination. Fixes #662. - a3819aa: Reflow long unbroken words continuously across tracked-insertion run boundaries while typing in Suggesting mode, without splitting Unicode graphemes. Fixes #716.
- a53f75c: Hyperlinks in headers, footers, and anchored text boxes now resolve through their owning OOXML part and paint as link anchors. You can edit or remove header and footer links with Ctrl+K while editing their story; secondary-story anchors remain inert. Fixes #643.
- 36c1f04: Keep table-hosted text-box list markers current while reducing repeated layout work for their host paragraphs. Fixes #639.
- 678fe91: Group every tracked field control into the review card beside it, so a struck or inserted field is one decision instead of one card per control. Fixes #718
- cfe3fe1: Treat empty on-demand font resolver fragments like an undefined result instead of reporting a missing-font configuration.
- 0e1360d: Keep underlined trailing spaces and underscore tab leaders as single rules that reach the line margin.
- 2a8e57e: Show tracked field controls with their adjacent replacement instead of separate Deleted cards.
- @docx-editor.dev/i18n@2.15.0
Patch Changes
- 1afc5f2: Treat contextual table controls as the first collapsible preset-toolbar group, so entering a table moves those controls into More before ordinary formatting controls instead of overlapping them. Keep table color pickers contained within the More panel so later controls remain clipped and scrollable while a picker is open. Fixes #669.
- Updated dependencies [7633b2c]
- Updated dependencies [1afc5f2]
- Updated dependencies [01022a4]
- Updated dependencies [6b5bb8d]
- Updated dependencies [f731c52]
- @docx-editor.dev/core@2.14.0
- @docx-editor.dev/i18n@2.14.0
Patch Changes
- 1afc5f2: Treat contextual table controls as the first collapsible preset-toolbar group, so entering a table moves those controls into More before ordinary formatting controls instead of overlapping them. Keep table color pickers contained within the More panel so later controls remain clipped and scrollable while a picker is open. Fixes #669.
- Updated dependencies [7633b2c]
- Updated dependencies [1afc5f2]
- Updated dependencies [01022a4]
- Updated dependencies [6b5bb8d]
- Updated dependencies [f731c52]
- @docx-editor.dev/core@2.14.0
- @docx-editor.dev/i18n@2.14.0
Patch Changes
- Updated dependencies [7633b2c]
- Updated dependencies [1afc5f2]
- Updated dependencies [01022a4]
- Updated dependencies [6b5bb8d]
- Updated dependencies [f731c52]
- @docx-editor.dev/core@2.14.0
- @docx-editor.dev/react@2.14.0
- @docx-editor.dev/vue@2.14.0
Patch Changes
- 65e146c: Preserve one literal asset URL per packaged font face in the ESM browser build so Next.js with Turbopack, Vite, and webpack resolve every requested filename instead of collapsing dynamic URLs to one font. Keep the CommonJS build resolving the same packaged files in Node.
Patch Changes
- Updated dependencies [7633b2c]
- Updated dependencies [1afc5f2]
- Updated dependencies [01022a4]
- Updated dependencies [6b5bb8d]
- Updated dependencies [f731c52]
- @docx-editor.dev/core@2.14.0
Minor Changes
- 7633b2c: Add Review > Markup Options > Reviewers to filter tracked changes and comments by author without changing saved document data. Keep an optional composable toolbar shortcut with a host-provided icon. Fixes #666.
- 01022a4: CJK text now measures and paints in the
eastAsiafont the document names (w:rFonts w:eastAsia/w:eastAsiaTheme, including throughw:docDefaultsand the theme'sa:eatypefaces) instead of the run's Latin face.ResolvedRunStylegainsfontFamilyEastAsia, andStyleSpanRecordgainsfontSlot; the format painter copies the East Asian face intow:eastAsia, and the font catalog lists the theme's East Asian faces. - 6b5bb8d: Add
setTrackedChangesFilterwith a predicate over complete revision items. Filtered revisions render as accepted without changing saved OOXML. Fixes #668. - f731c52: Add an
acceptorrejectcontent projection mode tosetTrackedChangesFilter. Both modes remain view-only and preserve tracked changes in saved DOCX files.
Patch Changes
- 1afc5f2: Treat contextual table controls as the first collapsible preset-toolbar group, so entering a table moves those controls into More before ordinary formatting controls instead of overlapping them. Keep table color pickers contained within the More panel so later controls remain clipped and scrollable while a picker is open. Fixes #669.
- @docx-editor.dev/i18n@2.14.0
Patch Changes
- Updated dependencies [b360c3c]
- Updated dependencies [845e38f]
- Updated dependencies [fe26cd4]
- Updated dependencies [3c66a7c]
- Updated dependencies [16966b2]
- Updated dependencies [2d7dc10]
- Updated dependencies [346f7e6]
- Updated dependencies [5cf6f08]
- Updated dependencies [7ea84c3]
- Updated dependencies [2ea6a9d]
- Updated dependencies [e268614]
- Updated dependencies [8107826]
- Updated dependencies [0860dd2]
- Updated dependencies [b1fa0d6]
- Updated dependencies [f1d3940]
- Updated dependencies [0a6e44c]
- Updated dependencies [72ff41f]
- Updated dependencies [8506a62]
- Updated dependencies [0d782e3]
- Updated dependencies [7e85377]
- Updated dependencies [96cdbe2]
- @docx-editor.dev/core@2.13.0
- @docx-editor.dev/i18n@2.13.0
Patch Changes
- Updated dependencies [b360c3c]
- Updated dependencies [845e38f]
- Updated dependencies [fe26cd4]
- Updated dependencies [3c66a7c]
- Updated dependencies [16966b2]
- Updated dependencies [2d7dc10]
- Updated dependencies [346f7e6]
- Updated dependencies [5cf6f08]
- Updated dependencies [7ea84c3]
- Updated dependencies [2ea6a9d]
- Updated dependencies [e268614]
- Updated dependencies [8107826]
- Updated dependencies [0860dd2]
- Updated dependencies [b1fa0d6]
- Updated dependencies [f1d3940]
- Updated dependencies [0a6e44c]
- Updated dependencies [72ff41f]
- Updated dependencies [8506a62]
- Updated dependencies [0d782e3]
- Updated dependencies [7e85377]
- Updated dependencies [96cdbe2]
- @docx-editor.dev/core@2.13.0
- @docx-editor.dev/i18n@2.13.0
Patch Changes
- 66fcc36: Two people formatting the same paragraph at once no longer duplicate its text. A concurrent run-property edit now converges deterministically — one peer's formatting wins and the text stays intact — instead of silently doubling it on every replica. Fixes #581.
- Updated dependencies [b360c3c]
- Updated dependencies [845e38f]
- Updated dependencies [fe26cd4]
- Updated dependencies [3c66a7c]
- Updated dependencies [16966b2]
- Updated dependencies [2d7dc10]
- Updated dependencies [346f7e6]
- Updated dependencies [5cf6f08]
- Updated dependencies [7ea84c3]
- Updated dependencies [2ea6a9d]
- Updated dependencies [e268614]
- Updated dependencies [8107826]
- Updated dependencies [0860dd2]
- Updated dependencies [b1fa0d6]
- Updated dependencies [f1d3940]
- Updated dependencies [0a6e44c]
- Updated dependencies [72ff41f]
- Updated dependencies [8506a62]
- Updated dependencies [0d782e3]
- Updated dependencies [7e85377]
- Updated dependencies [96cdbe2]
- @docx-editor.dev/core@2.13.0
- @docx-editor.dev/react@2.13.0
- @docx-editor.dev/vue@2.13.0
Minor Changes
- 0860dd2: Match Word's widths and per-weight line box for documents that name Century Gothic, served on demand from the bundle by
googleFonts();loadDefaultFonts()anddefaultFonts()now default toWORD_DOCUMENT_DEFAULT_FAMILIES, soALL_WORD_DEFAULT_FAMILIESbecomes an explicit opt-in that loads four more faces than before. Fixes #507. - 48cc3f7: Add
packagedFonts(), which serves the bundled Word substitutes on demand so a document loads the families it names plus its default face, rather than every face of Word's five document defaults, and giveuseFontsanduseDocxSourceone uniform origin list where order is precedence.defaultFonts()keeps working unchanged.
Patch Changes
- 41952f2: Register a packaged face from the bytes already loaded, so it costs no second request and an injected
fetchersees every byte read for it. A face that fails to load still registers by URL. Fixes #596.
Patch Changes
- Updated dependencies [b360c3c]
- Updated dependencies [845e38f]
- Updated dependencies [fe26cd4]
- Updated dependencies [3c66a7c]
- Updated dependencies [16966b2]
- Updated dependencies [2d7dc10]
- Updated dependencies [346f7e6]
- Updated dependencies [5cf6f08]
- Updated dependencies [7ea84c3]
- Updated dependencies [2ea6a9d]
- Updated dependencies [e268614]
- Updated dependencies [8107826]
- Updated dependencies [0860dd2]
- Updated dependencies [b1fa0d6]
- Updated dependencies [f1d3940]
- Updated dependencies [0a6e44c]
- Updated dependencies [72ff41f]
- Updated dependencies [8506a62]
- Updated dependencies [0d782e3]
- Updated dependencies [7e85377]
- Updated dependencies [96cdbe2]
- @docx-editor.dev/core@2.13.0
Minor Changes
- 3c66a7c: The font-substitution notice now reports only families that rendered text resolves to through the style cascade, so declarations in unused styles no longer trigger it. Adds
renderedFontFamilies()to the tree session. - 2ea6a9d: Saving now refreshes stale REF field results inside footnotes and endnotes as one undoable transaction with the body, so the exported note parts carry the values the pages paint; a field inside a locked or data-bound content control keeps its cached result without blocking the others, and collaborative sessions keep exporting cached results. Fixes #611
- 0860dd2: Let a font substitution carry the requested family's line box through
FontSourceSubstitution.lineMetrics, so a substitute with different vertical metrics still paginates like the face the document names. - b1fa0d6: REF cross-reference fields now compute their results live from the bookmark target and the resolved numbering, so references such as "Section 1.2" track renumbering edits instead of painting the saved result forever. Fixes #601.
- f1d3940: Saving now rewrites stale REF field results into the exported bytes, and REF fields inside footnotes and endnotes paint live values. Fixes #606.
- 96cdbe2: Preserve Word page breaks, paragraph flow, list formats, tables, inline controls, links, and mislabeled preview images during rich copy and paste.
Patch Changes
- b360c3c: Paragraph spacing-after no longer counts toward the page-fit decision: a line that fits stays on its page and trailing space clips at the boundary, so an oversized
w:after(the signature-block idiom) no longer mints blank trailing pages. Fixes #615. - 845e38f:
AUTONUM,AUTONUMLGL, andAUTONUMOUTfields now paint a synthesized sequential number (one counter per kind, in document order, with\*format switches and\e) instead of nothing, andREFnumber switches resolve against bookmarked auto-numbered paragraphs. Fixes #618. - fe26cd4: Numbered lists inside text boxes in table cells and headers stay correct after a numbering edit. Headers no longer keep stale list markers or images. Fixes #622
- 16966b2: Keep a footnote whole with its reference: a note that cannot fit below its reference line moves to the next page with the line instead of splitting mid-sentence or trailing its reference as an unmarked continuation. Fixes #627
- 2d7dc10: Price the
w:keepNextgroup-height lookahead at the placed column's width, so a keep group in a section with unequal explicit column widths breaks on the correct block. Fixes #623 - 346f7e6: Layout no longer eagerly measures per-character caret edges for every laid span; caret and hit-test positions are measured on demand through the same measurer, and the selection-rect APIs accept an optional measurer for exact intra-span edges. Repagination after a page-boundary edit costs about a third of before. Fixes #632
- 5cf6f08: Re-break a renumbered list paragraph when its wider ordinal overflows the hanging indent, so the first line moves to the next tab stop instead of keeping its pre-renumber position under the marker.
- 7ea84c3: Hyperlinks inside footnotes and endnotes now resolve their relationship ids against the notes part's own relationships instead of the body part's. Fixes #637
- e268614: Typing in a paragraph that carries a footnote reference no longer re-lays every note story in the document, and unchanged footnote pages keep their identity across passes so the painter keeps their DOM. Fixes #631
- 8107826: Body
PAGEREFfields now compute the page number of their bookmark target at pagination time and refresh on save, so table-of-contents page numbers stay correct after edits and in exported files. Each field is calibrated against its authored cache; unsupported switches or a missing bookmark keep the cached result. Fixes #617. - 0a6e44c: Resolve the REF
\tswitch and NOTEREF fields live from the document's numbering, so those references track edits instead of painting stale cached results. Fixes #612. - 72ff41f: Footnotes taller than the remaining page now start on their reference page, share it correctly with other references, and release their space when drained, so footnote-heavy documents paginate at the correct density. A
w:cantSplittable row taller than the band a footnote reserve leaves now takes the full page instead of failing the layout. Fixes #608. - 8506a62: Numbered paragraphs now inherit the list id through the style chain when a style sets only the level, so multilevel heading numbering in legal templates renders. Fixes #600.
- 0d782e3: Invalidate a table's cached break correctly when drawing layout moves between its cell paragraphs: the drawing-token aggregate now preserves paragraph position instead of sorting, so two different token assignments can no longer alias. Fixes #626
- 7e85377: Declare the Node floor the text shaper needs (
^20.16.0 || >=22.3.0) so an installer reports it before a run fails. Fixes #595. - @docx-editor.dev/i18n@2.13.0
Patch Changes
- Updated dependencies [531759c]
- Updated dependencies [40699c8]
- Updated dependencies [31780e5]
- Updated dependencies [4c2c119]
- Updated dependencies [3755b98]
- Updated dependencies [8fe5920]
- Updated dependencies [fe3b8a3]
- @docx-editor.dev/core@2.12.0
- @docx-editor.dev/i18n@2.12.0
Patch Changes
- Updated dependencies [531759c]
- Updated dependencies [40699c8]
- Updated dependencies [31780e5]
- Updated dependencies [4c2c119]
- Updated dependencies [3755b98]
- Updated dependencies [8fe5920]
- Updated dependencies [fe3b8a3]
- @docx-editor.dev/core@2.12.0
- @docx-editor.dev/i18n@2.12.0
Minor Changes
- 9f1b924: Collaboration rooms report their replicated size:
session.resourceUsage()and the server-sidereadCollaborationResourceUsage(ydoc)return node, tombstone, relationship, part, and media-byte counts next to the hard limits, so a host can archive and re-room before growth turns terminal.
Patch Changes
- ce9c5cc: Harden the collaboration receive path against a hostile peer: a malformed shared node record no longer crashes
applyUpdate, the derived-index rebuild, or the materializer on every replica. A crafted value now degrades to an absent node instead of throwing. Fixes #567. - 71bc4e0: Collaboration rooms recover cleanly from failure: a failed seed no longer marks the room initialized,
readCollaborationDocumentand session teardown release their document observers, refusal recovery keeps a disconnected status instead of reporting ready, and undo obeys the same gate as every other edit. Fixes #541, #542, #544, #545. - b779bb8: An edit committed by a change subscriber while the session installs a remote package now replicates instead of staying on one replica behind a healthy status. Fixes #553.
- Updated dependencies [531759c]
- Updated dependencies [40699c8]
- Updated dependencies [31780e5]
- Updated dependencies [4c2c119]
- Updated dependencies [3755b98]
- Updated dependencies [8fe5920]
- Updated dependencies [fe3b8a3]
- @docx-editor.dev/core@2.12.0
- @docx-editor.dev/react@2.12.0
- @docx-editor.dev/vue@2.12.0
Patch Changes
- Updated dependencies [531759c]
- Updated dependencies [40699c8]
- Updated dependencies [31780e5]
- Updated dependencies [4c2c119]
- Updated dependencies [3755b98]
- Updated dependencies [8fe5920]
- Updated dependencies [fe3b8a3]
- @docx-editor.dev/core@2.12.0
Minor Changes
- 531759c: Paint theme-coloured DrawingML shapes and grouped vector graphics.
Patch Changes
- 40699c8: Keep note overflow sheets in separate page rectangles after insertion. Fixes #513.
- 31780e5: Every authorable op kind and every accepted property, image-wrap, and content-control variant is now proven to replicate through collaboration by a journal replay-convergence fixture, or declared not-expressible with a reason. Adding an editing capability without one fails the coverage gate.
- 4c2c119: A collaborative edit that moves an existing node while changing its content — a hyperlink inserted across a tracked-change run — now replicates the change instead of duplicating the old text on every receiving peer. Fixes #557.
- 3755b98: Combine style toggle properties per level of the style hierarchy, shape small capitals with matching advances, and draw one frame around consecutive identically bordered paragraphs in a table cell. Fixes #505.
- 8fe5920: A relationship, content type, or extra part written through a transaction's
applyPackagenow survives into the package, the save, and one shared undo unit with the story edit, instead of replicating to peers while vanishing from the author's own document. Fixes #558. - fe3b8a3: Pasting rich content into non-empty documents no longer degrades to plain text or inserts Word's macOS preview image. Word headings, captions, and image dimensions now retain their source semantics and physical size.
- @docx-editor.dev/i18n@2.12.0
Patch Changes
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [2015f33]
- Updated dependencies [1542e73]
- Updated dependencies [40578c6]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [c4b4dab]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [e4872fb]
- Updated dependencies [af77c9b]
- Updated dependencies [d11816f]
- Updated dependencies [0d770d9]
- Updated dependencies [dfaafc0]
- @docx-editor.dev/core@2.11.0
- @docx-editor.dev/i18n@2.11.0