Commit bbf2cbb
committed
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments