Skip to content

fix: ignore sdBlockId when pasting content#2010

Merged
harbournick merged 1 commit intomainfrom
luccas/sd-1844-bug-original-text-that-was-copiedpasted-renders-on-top-of
Feb 13, 2026
Merged

fix: ignore sdBlockId when pasting content#2010
harbournick merged 1 commit intomainfrom
luccas/sd-1844-bug-original-text-that-was-copiedpasted-renders-on-top-of

Conversation

@luccas-harbour
Copy link
Contributor

  • When copying and pasting text inside the editor, the pasted nodes would have the same sdBlockId attributes, causing issues during rendering by the layout engine.
  • Now the sdBlockId attribute is ignored during pasting so that it is auto-generated.

@linear
Copy link

linear bot commented Feb 12, 2026

Copy link
Contributor

@tupizz tupizz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, lgtm

Copy link
Collaborator

@harbournick harbournick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@harbournick harbournick merged commit 1b08572 into main Feb 13, 2026
4 checks passed
@harbournick harbournick deleted the luccas/sd-1844-bug-original-text-that-was-copiedpasted-renders-on-top-of branch February 13, 2026 19:50
@superdoc-bot
Copy link

superdoc-bot bot commented Feb 13, 2026

🎉 This PR is included in superdoc v1.13.0-next.9

The release is available on GitHub release

superdoc-bot bot pushed a commit that referenced this pull request Feb 14, 2026
# [1.13.0](v1.12.0...v1.13.0) (2026-02-14)

### Bug Fixes

* anchor table overlaps text ([#1995](#1995)) ([fc05e29](fc05e29))
* collaboration cursor styles fix ([fd6db10](fd6db10))
* ensure we do not duplicate bubble text ([#1934](#1934)) ([c41cf9e](c41cf9e))
* ignore sdBlockId when pasting content ([#2010](#2010)) ([1b08572](1b08572))
* normalize bookmarks in tables ([#1892](#1892)) ([369b7e1](369b7e1))
* replace Node.js Buffer APIs with browser-native alternatives ([#2028](#2028)) ([b17774a](b17774a)), closes [#exportProcessMediaFiles](https://github.com/superdoc-dev/superdoc/issues/exportProcessMediaFiles)
* use correct template syntax for GitHub release URL in PR comments ([9d1bca2](9d1bca2))

### Features

* enabled telemetry by default and added documentation ([#2001](#2001)) ([8598ef7](8598ef7))
* enhance telemetry handling for sub-editors ([#2017](#2017)) ([37bc030](37bc030))
* update telemetry configuration to prioritize root licenseKey ([#2016](#2016)) ([3b4ff6b](3b4ff6b))
@superdoc-bot
Copy link

superdoc-bot bot commented Feb 14, 2026

🎉 This PR is included in superdoc v1.13.0

The release is available on GitHub release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants