Skip to content

Commit bbf2cbb

Browse files
chore(release): 1.22.0 [skip ci]
### What's New - **Relative-path images** — Documents now display and export images referenced with relative URLs; same-origin validation prevents cross-origin requests. - **upgradeToCollaboration()** — Convert an existing local document into a collaborative room programmatically. - **@superdoc-dev/create** — Standalone scaffolding tool detects your framework (React, Next.js, Vue, Nuxt, Angular, Svelte, vanilla JS) and generates tailored AGENTS.md with code examples, installs extensions, and prints MCP setup instructions. ### Improvements - **Document structure** — SDTs nested in paragraphs now preserve paragraph attributes during import and export; mixed fragment output normalizes correctly. - **Tab leaders** — Positioning now accounts for paragraph indent across all alignment types (start, end, center, decimal); fixed coordinate space consistency. - **RTL paragraphs** — Tab decorations mirror correctly in right-to-left documents; alignment fixed on load. - **Context menu paste** — Plain-text paste via right-click preserves leading and trailing whitespace; range selections maintained to prevent collapse in presentation mode. - **Collaboration sync** — Yjs updates no longer blocked by locked SDTs or charts; chart immutability preserved. ### Fixes - **Tracked changes** — Link styles now remove when a link rejection is accepted, matching text deletion behavior. - **Comments** — Edit option now respects `readOnly` config, matching permissions of resolve and delete. - **Bibliography citations** — Numeric sdBlockId properly stringified for stable targeting in citation stories.
1 parent 9d66775 commit bbf2cbb

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.21.1",
4+
"version": "1.22.0",
55
"license": "AGPL-3.0",
66
"repository": {
77
"type": "git",

0 commit comments

Comments
 (0)