Skip to content

cli-v0.17.0

Choose a tag to compare

@superdoc-bot superdoc-bot released this 12 Jun 16:22
· 90 commits to stable since this release

Based on the commit messages, here are the release notes:

What's New

  • Textbox editing β€” Edit text content inside VML and DrawingML textboxes with full interaction support; clicks map to content positions.
  • Font family combobox β€” Browse and select fonts directly from the toolbar.
  • Font size options β€” UI API exposes font size choices for custom toolbars.
  • Comments API expansion β€” ui.comments.setActive() highlights a comment without scrolling; pending-comments-update event carries pendingSelection.
  • Viewport scroll container β€” ui.viewport.getScrollContainer() returns the editor's resolved scroll element.
  • Text range viewport geometry β€” ui.viewport.getRect() now accepts Document API text addresses and targets.
  • Sidebar viewport observation β€” ui.viewport.observe fires when comments rail opens or closes.
  • Zoom modes β€” Manual and fit-width zoom with observable transitions, viewport metrics, useSuperDocZoom React hook, and toolbar command.
  • Table of contents hover β€” Hovering TOC entries highlights corresponding sections.

Improvements

  • Multi-column section balancing β€” Continuous sections balance correctly with explicit per-column widths preserved throughout layout.
  • Column spacing precision β€” Per-column gaps drive separator positions per ECMA-376; unequal-width columns honor per-column w:space.
  • Font substitutes β€” Metric-compatible fallbacks load for Calibri, Cambria, Arial, Times New Roman, and Courier New before measurement.
  • Tracked table changes β€” Inline cell edits consolidate into single review items instead of separate entries.

Fixes

  • Paragraphs with pageBreakBefore style no longer add blank pages when directly following explicit page breaks.
  • Textbox text alignment matches Word when tables are inside textboxes.
  • Table cell selection highlights appear over empty space; multiline selection interior lines render at full width.
  • Plan engine recovers from stale block identities on recompile without crashes.
  • Tab carets anchor to line top instead of bottom; soft-break continuation carets position alignment-aware at line start.
  • DOCX export preserves generated line breaks as <w:br/> elements instead of raw newlines.
  • Font toolbar no longer races on editor handoff; combobox selection flow handles edge cases.
  • Viewport geometry invalidates on sidebar toggle without px-level jitter.
  • Zoom state β€” PDF documents contribute to viewport metrics; mode-only transitions emit correctly.
  • TOC anchor navigation preserves bookmark start/end order.
  • Image alpha modifiers process correctly on import and export.
  • Font picker keyboard behavior consistent across selection modes.
  • Formatting preserved when typing text over toolbar font selections.