Skip to content

v2.13.0

Choose a tag to compare

@chittolinag chittolinag released this 08 Sep 21:53
· 380 commits to main since this release

What's New

  • Ruler-based page margins — Adjust page margins directly in the editor using the ruler, without opening a dialog.
  • Custom collaboration worker providers — Configure your own worker implementation for real-time collaboration instead of relying on built-in providers.
  • SDK file replacement — Replace DOCX files in open documents without reloading the editor, enabling workflow automation without UI interruption.
  • Improved custom document controls — Better support for custom content control implementations with more granular state tracking.
  • Simplified collaboration onboarding — Collaboration setup now provides clearer configuration and error messages to reduce integration friction.

Improvements

  • Round-trip fidelity — Preserve exact inline offsets in bookmarks, multi-paragraph ranges, header and footer content controls, and paragraph property schema order. Heading levels 7–9 now round-trip correctly.
  • Collaboration fidelity — DOCX documents maintain full formatting and metadata through v1-to-v2 room upgrades. Tracked changes and review decisions persist across collaboration sessions.
  • Multi-column selection — Selection now stays within column bounds in multi-column layouts, and goal-x position is preserved across column-crossing navigation.
  • Dirty state tracking — Document mutation tracking is now atomic and counts every committed mutation exactly once, preventing false dirty states from dry runs or no-op results.
  • Performance — Footnote measure planes are retained without re-indexing, page metadata publication is deferred to reduce initial load, and field catalogs are reused for range deletion operations.
  • Focus and accessibility — Selection-backed prompt cards now restore focus correctly across hide/show and scroll events. Theme playground modality is properly enforced with keyboard trapping.

Fixes

  • Text replacement is now atomic and uncapped, handling large replacements without segmentation.
  • Tab stop handling prevents hangs from non-positive default tab stops and normalizes invalid intervals.
  • Toolbar escape key restores state after overflow menu reopens.
  • Export now properly rejects v2 DOCX generation failures instead of silently succeeding.
  • DOCX content is now available when collaboration reaches ready state.
  • Heading search results are properly classified by level.
  • Text selection stays inside document boundaries during findText operations.
  • Content control creation and replacement through the Document API is now reliable under concurrent mutations.