Skip to content

πŸ”„ Sync stable β†’ main#2545

Merged
harbournick merged 2 commits intomainfrom
sync/stable-to-main-20260324-211806
Mar 24, 2026
Merged

πŸ”„ Sync stable β†’ main#2545
harbournick merged 2 commits intomainfrom
sync/stable-to-main-20260324-211806

Conversation

@superdoc-bot
Copy link
Copy Markdown
Contributor

@superdoc-bot superdoc-bot Bot commented Mar 24, 2026

Summary

Merges latest stable patches into main to keep branches in sync.

This ensures @next prereleases stay ahead of @latest releases.


Auto-created by sync-patches workflow.

semantic-release-bot and others added 2 commits March 24, 2026 16:23
Based on my review of the commits and code changes, here are the release notes:

### What's New

- **Relative-path images** β€” 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 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.
@superdoc-bot superdoc-bot Bot added patch-sync Patch sync from release branch review: quick labels Mar 24, 2026
@superdoc-bot
Copy link
Copy Markdown
Contributor Author

superdoc-bot Bot commented Mar 24, 2026

πŸŽ‰ This PR is included in superdoc-sdk v1.2.0

@harbournick harbournick merged commit f2e5b77 into main Mar 24, 2026
28 checks passed
@harbournick harbournick deleted the sync/stable-to-main-20260324-211806 branch March 24, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants