Skip to content

Commit 6829545

Browse files
chore(react): 1.9.0 [skip ci]
Perfect! I can see the release summary in the commit message. Let me refine it to match the SuperDoc voice and terminology: ### What's New - **Content control navigation** — `ui.contentControls.focus()` places the caret inside a control; `ui.contentControls.scrollIntoView()` scrolls to it - **Viewport geometry signal** — `ui.viewport.observe` emits when layout, zoom, scroll, or resize changes (single rAF-coalesced notification) - **Content control events** — `content-control:active-change` and `content-control:click` include full activation stack and source detection (pointer vs. keyboard) - **Content control chrome control** — `modules.contentControls.chrome` option suppresses visual styling for custom UI - **Empty content control placeholders** — Inline and block controls display "Click or tap here to enter text" with inherited paragraph styling - **Smart tags** — `w:smartTag` elements render and round-trip with visible content - **Overlapping tracked changes** — Multiple tracked changes can occupy the same range in collaboration - **Metadata orphan status** — Anchored metadata now reports an orphan status ### Improvements - Find navigation no longer re-centers matches already on-screen - Find navigation stops jumping when focus returns to search input - Content control navigation skips hidden markers and atoms - Content control labels anchor to the leading edge for visual consistency - Block content control chrome extends across full fragment width - Inline images top-align with text at baseline - Block content control backgrounds no longer interfere with hover and click - Inline content control wrappers with images size correctly to content - Empty block content control paragraphs inherit surrounding text styles - RTL content control chrome uses logical positioning - Paragraph rendering unified between body and table cells - Image helpers unified across all rendering surfaces ### Fixes - Copy-pasted text in suggestion mode no longer reverts - Block content control deletion respects lock modes - Inline content control boundaries handle Delete correctly - Backspace at inline content control boundaries selects content without chrome - Cell-level content controls import, export, and preserve correctly - Vertical merge cells inside content controls mark correctly - Cross-editor diff application works (session-local attributes stripped from fingerprint) - Undo/redo works inside content-locked controls - Text-align remains visible in locked content control paragraphs - Image data URIs validated before rendering or export - SVG data URIs work without base64 encoding - Nested table content controls preserve chrome across fragments - Pointer-source tracking works on all editor initialization paths
1 parent f034370 commit 6829545

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@superdoc-dev/react",
3-
"version": "1.8.0",
3+
"version": "1.9.0",
44
"description": "Official React wrapper for the SuperDoc document editor",
55
"type": "module",
66
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)