Skip to content

Commit 794b458

Browse files
chore(vscode): 2.2.0 [skip ci]
### What's New - **Mathematical equations** β€” Render OMML math with browser-native MathML, including fractions, bars, and precise accent stretching. - **Password-protected documents** β€” Open encrypted .docx files with a customizable password prompt and fully configurable UI. - **Multi-column copy-paste** β€” Preserve column layout and structure when copying from multi-column sections. - **Document protection** β€” Create, manage, and remove permission ranges; set editing restrictions on document sections. - **Find and replace** β€” Built-in search and replace functionality with refresh on active transaction. - **Generic surfaces API** β€” Dialogs and floating panel support for custom extensions. - **Spell check infrastructure** β€” Proofing platform for integrating spell-check libraries. - **RTL table rendering** β€” Right-to-left tables respect w:bidiVisual with visually reversed columns, mirrored cell layout, and correct border handling. - **Word comments in VS Code** β€” View and add Word comments with margin bubbles directly in the extension editor. ### Improvements - **Block references** β€” superdoc_create now returns a ref handle; use it directly in superdoc_format instead of searching first. - **Block formatting accuracy** β€” Formatting now resolves through the full style-engine cascade, ensuring accurate fontFamily, fontSize, color, and bold values. - **AI tool descriptions** β€” Improved superdoc_create, superdoc_format, and superdoc_list guidance to prevent LLM misuse. - **Math accent rendering** β€” Underbars on compound expressions stretch correctly with stretchable U+203E overline. - **RTL cursor navigation** β€” Arrow keys move the cursor in the correct visual direction in Arabic and other RTL text. - **Paragraph borders and spacing** β€” Border expansion now overlaps with paragraph spacing per ECMA-376, not stacking. - **Comment rendering** β€” Fixed layout to allow comment bubbles and tracked-change balloons to render in the right margin. - **Footnote rendering** β€” Reference markers normalize before superscript layout; render as scaled superscript digits. - **Toolbar dropdowns** β€” Better activation when editor is unfocused; font attributes queue correctly for delayed commands. - **VS Code extension marketplace** β€” README redesigned with feature list, install instructions, AI integration guide, and improved metadata. - **Inline structured content** β€” Inherit run formatting (bold, color, font) when inserting inline SDT elements. - **Table of contents** β€” Apply useAppliedOutlineLevel without requiring \o range switch. - **Header and footer diffing** β€” Capture, diff, and replay header/footer changes with full part closure tracking. ### Fixes - **Type safety for external packages** β€” Removed ambient type shims that incorrectly typed ProseMirror, Yjs, Vue, and EventEmitter3 as `any`. - **Math cursor positioning** β€” Clicks in overflow areas around inline math equations now resolve to correct ProseMirror positions. - **Comment scrolling** β€” Fixed scroll behavior regression after painter refactor. - **RTL click-to-position mapping** β€” Clicks on RTL text now map to the correct document position. - **Diacritical marks in tracked changes** β€” Composition handling allows diacritical symbols in track changes operations. - **Style inheritance on Enter** β€” Pressing Enter at the end of unformatted text no longer inherits parent paragraph formatting. - **Document part object normalization** β€” Non-TOC gallery types now correctly normalize inline nodes instead of failing with "Invalid content" errors. - **Table cell newlines** β€” Newline characters in structured content table cells now split into separate paragraphs. - **SDT hover in view mode** β€” Hovering block and inline structured content containers in viewing mode no longer shows background highlights. - **Comment export** β€” Resolved comments now export with correct w15:done attribute. - **Image resize in view mode** β€” Image resize handles no longer appear when the document is in viewing mode. - **File replacement with live collaboration** β€” Live collaboration fragment is now properly cleared during document rebuild. - **Math blocks spacing** β€” Display math paragraphs now inherit spacing from their containing paragraph.
1 parent 8e8cb03 commit 794b458

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.1.3",
5+
"version": "2.2.0",
66
"publisher": "superdoc-dev",
77
"icon": "logo.png",
88
"homepage": "https://superdoc.dev",

0 commit comments

Comments
Β (0)