Skip to content

Commit 3bf6bb6

Browse files
chore(release): 1.24.0 [skip ci]
### What's New - **Mathematical equations** β€” Render OMML math with browser-native MathML, including fractions, bars, and precise accent stretching; cursor positioning works after inline equations. - **Password-protected documents** β€” Open encrypted .docx files with a customizable password prompt surface; fully configurable UI text, titles, and error handling. - **Multi-column copy-paste** β€” Preserve column layout and structure when copying from multi-column sections; automatic image collision detection prevents overwrites. - **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 (33% fewer API calls). - **Block formatting accuracy** β€” Formatting now resolves through the full style-engine cascade (docDefaults β†’ Normal style β†’ paragraph style β†’ inline marks) instead of just inline marks, ensuring accurate fontFamily, fontSize, color, and bold values even on style-driven formatting. - **AI tool descriptions** β€” Improved superdoc_create, superdoc_format, and superdoc_list guidance to prevent LLM misuse and simplify successful operations. - **Math accent rendering** β€” Underbars on compound expressions like x+y now stretch correctly (U+203E overline instead of combining marks); display style and Cambria Math font match Word rendering. - **RTL cursor navigation** β€” Arrow keys now move the cursor in the correct visual direction in Arabic and other RTL text; vertical navigation (up/down) works correctly with inverted search direction. - **Paragraph borders and spacing** β€” Border expansion now overlaps with paragraph spacing per ECMA-376, not stacking; fixed cursorY positioning and continuation fragment alignment after page breaks. - **Comment rendering** β€” Fixed layout to allow comment bubbles and tracked-change balloons to render in the right margin without overflow. - **Footnote rendering** β€” Reference markers normalize before superscript layout; render as scaled superscript digits with correct baseline shift handling. - **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 for discoverability; extension icon and homepage link added. - **Inline structured content** β€” Inherit run formatting (bold, color, font) when inserting inline SDT elements; respect pending toolbar formatting. - **Table of contents** β€” Apply useAppliedOutlineLevel without requiring \o range switch; TOC with \u-only instructions now works correctly. ### Fixes - **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; fixed hidden span handling in line bounds calculation. - **Diacritical marks in tracked changes** β€” Composition handling now allows diacritical symbols in track changes operations; dead-key placeholders work correctly. - **Style inheritance on Enter** β€” Pressing Enter at the end of unformatted text no longer inherits parent paragraph formatting; clearing formatting with an empty storedMarks array is now respected across paragraph splits and run management. - **Document part object normalization** β€” Non-TOC gallery types (page numbers, bibliographies, cover pages) now correctly normalize inline nodes (bookmarks, comments, permissions) instead of failing with "Invalid content" errors. - **Table cell newlines** β€” Newline characters in structured content table cells now split into separate paragraphs instead of losing content after the first newline. - **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; commentsExtended.xml is included even when no threaded comments exist. - **VS Code extension marketplace rendering** β€” Demo GIF bundles locally in the VSIX package; image paths use absolute GitHub URLs instead of relative paths that the marketplace can't resolve. - **CLI validation** β€” Fixed inline-special insertion positioning and schema validation. - **Headless numbering sync** β€” Fixed infinite loop when list definitions are missing; sync now terminates correctly. - **DOCX export** β€” Handle null or undefined converter declaration with standard XML fallback (version="1.0" encoding="UTF-8" standalone="yes"). - **Layout engine architecture** β€” Removed remaining pm-adapter boundary leaks; layout-bridge now self-contained with local PX_PER_PT constant.
1 parent 1364b14 commit 3bf6bb6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

β€Žpackages/superdoc/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "superdoc",
33
"type": "module",
4-
"version": "1.23.1",
4+
"version": "1.24.0",
55
"license": "AGPL-3.0",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
Β (0)