Skip to content

Commit 220a835

Browse files
chore(vscode): 2.10.0 [skip ci]
### What's New - **Content control navigation API** — `ui.contentControls.focus({ id })` places the caret inside a control; `ui.contentControls.scrollIntoView({ id })` scrolls to it. - **Viewport geometry signal** — `ui.viewport.observe` emits a single `requestAnimationFrame`-coalesced notification when layout, zoom, scroll, or resize changes. Payload includes the change reason. - **Overlapping tracked changes** — Multiple tracked changes can now occupy the same range in collaboration scenarios. - **Enhanced content control events** — `content-control:active-change` now includes `activePath` (full activation stack from innermost first) and improved source detection (pointer vs. keyboard). - **Cell-level SDT support** — Content controls wrapping individual table cells import, export, and preserve correctly, including vertical merge handling. - **Smart tags** — `w:smartTag` elements now render with visible content and round-trip with full property metadata. - **Anchored metadata orphan status** — New status indicator for anchored metadata that loses its anchor point. - **Chrome control option** — `modules.contentControls.chrome` lets you suppress built-in visual styling for custom UI responsibility. - **Empty control placeholders** — Inline and block controls display "Click or tap here to enter text" with inherited paragraph styling. ### Improvements - Find navigation no longer re-centers matches already on-screen, eliminating jarring viewport jumps. - Find navigation stops jumping when focus returns to the search input during active search. - Content control navigation skips hidden markers and atoms for more predictable boundary behavior. - SDT labels anchor to the leading edge instead of center, providing visual consistency. - Block SDT chrome extends across the full fragment width, maintaining click affordances across line breaks. - Inline images top-align with text at baseline instead of centering, matching Word's behavior. - Block SDT backgrounds no longer interfere with hover and click placement. - Inline SDT wrappers containing images correctly size to content via `inline-block` layout. - Empty block SDT paragraphs inherit surrounding text styles (font, size, color). - RTL SDT chrome aligns using logical positioning, respecting document direction. - Paragraph rendering unified between body and table cells, ensuring consistent behavior across all text containers. - Image helpers unified across all rendering surfaces (body, tables, fields). - Copy-pasted text in suggestion mode no longer reverts to previous state. - Cross-editor diff application now works — session-local `sdBlockId` stripped from fingerprint. - Malformed image data URIs rejected before rendering or export. - SVG data URIs work without base64 encoding, preserving vector content. - Non-base64 SVG payloads support URL-encoded alternatives via `charset=utf-8`. - Inline SDT chrome width included in block SDT bounds, preventing clipping of nested controls. - Undo/redo now works inside content-locked SDTs via history transaction bypass. - Text-align state remains visible in locked SDT paragraphs as a read-only indicator. - Toolbar mutation controls properly disabled inside content-locked SDTs. ### Fixes - Backspace at inline SDT boundaries selects content without selecting chrome. - Cell-level SDTs in tables import, export, and preserve correctly across round-trip. - Vertical merge cells inside SDTs marked correctly during import. - Block SDT deletion respects SDT lock modes instead of unconditionally blocking. - Inline SDT content selected as text on Delete, giving explicit confirm-then-delete UX. - Inline SDT boundaries handle Delete correctly without escaping into surrounding text. - Nested table SDTs preserve chrome across fragmented content boundaries. - Pointer-source tracking works on all editor initialization paths, not just deferred loads. - Malformed base64 image data URIs now validated before creating DOCX media parts. - Oversized async SVG images validated for export. - Vertical merge column lookups find cell-level SDT-wrapped cells correctly. - Diff fingerprint normalization applied uniformly to all block nodes, not just paragraphs. - Legacy diff fingerprints accepted in compare/apply for backward compatibility with persisted snapshots.
1 parent 6829545 commit 220a835

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/vscode-ext/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "superdoc-vscode-ext",
33
"displayName": "SuperDoc - Word Document Editor",
44
"description": "Open and edit Word documents (.docx) directly in VS Code using SuperDoc",
5-
"version": "2.9.0",
5+
"version": "2.10.0",
66
"publisher": "superdoc-dev",
77
"icon": "logo.png",
88
"homepage": "https://superdoc.dev",

0 commit comments

Comments
 (0)