Releases
Minor Changes
- d1d8043: Let
navigationon<DocxEditor>pass through pane props so hosts can control open state and the active tab, and focus the find input when that tab is shown.
Patch Changes
- Updated dependencies [332494b]
- @docx-editor.dev/core@2.17.0
- @docx-editor.dev/i18n@2.17.0
Minor Changes
- d1d8043: Let
navigationon<DocxEditor>pass through pane props so hosts can control open state and the active tab, and focus the find input when that tab is shown.
Patch Changes
- Updated dependencies [332494b]
- @docx-editor.dev/core@2.17.0
- @docx-editor.dev/i18n@2.17.0
Patch Changes
- Updated dependencies [332494b]
- Updated dependencies [d1d8043]
- @docx-editor.dev/core@2.17.0
- @docx-editor.dev/react@2.17.0
- @docx-editor.dev/vue@2.17.0
Patch Changes
- Updated dependencies [332494b]
- @docx-editor.dev/core@2.17.0
Patch Changes
- 332494b: Dismiss content-control dropdown and date menus on outside press or Escape; re-pressing the widget toggles the menu shut.
- @docx-editor.dev/i18n@2.17.0
Patch Changes
- d8c40b2: Set tracked insertion underlines slightly below the text like Word, with a CSS token for the gap.
- 02b77f6: Use a thin solid underline for tracked insertions and add CSS tokens for its style and thickness.
- @docx-editor.dev/i18n@2.16.2
Patch Changes
- b2390c6: Improve Word review parity with grouped paragraph breaks, optional paragraph and manual line-break marks, detailed formatting cards, separate formatting decisions, navigation, bulk acceptance/rejection, and markup display controls. Fixes #793 and #794.
- @docx-editor.dev/i18n@2.16.1
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