[PRO]: Snapshot compare displays additional content that does not exist #6248
Labels
Category: Pro
The issue or pull request is related to the pro packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Affected Packages
extension-snapshot-compare
Version(s)
2.17.6
Description of the Bug
When in the previous snapshot there is a text with a mark, e.g. bold (or other). And then we remove this mark and e.g. change something in the content (which previously had a mark on it), after saving the new version and comparing it to the previous one, we see duplicate content.
For example, previously we had
Tiptap
on bold and now in the new one we haveTiptp
without bold, then snapshot compare duplicates the content that is under it. ( example in the attachment )You can check it directly in the demo version:
https://tiptap.dev/docs/collaboration/documents/snapshot-compare
Browser Used
Chrome
Code Example (Preferred)
No response
Expected Behavior
It should not duplicate content that has not changed.
Additional Context (Optional)
Nagranie.z.ekranu.2025-04-7.o.13.23.33.mov
Dependency Updates
The text was updated successfully, but these errors were encountered: