Skip to content

[PRO]: Snapshot compare displays additional content that does not exist #6248

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
kamilziemann-pagepro opened this issue Apr 7, 2025 · 0 comments
Open
1 task done
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

Comments

@kamilziemann-pagepro
Copy link

kamilziemann-pagepro commented Apr 7, 2025

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 have Tiptp 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

  • Yes, I've updated all my dependencies.
@kamilziemann-pagepro kamilziemann-pagepro added 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 labels Apr 7, 2025
@github-project-automation github-project-automation bot moved this to Needs Triage in Tiptap: Issues Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
Status: Needs Triage
Development

No branches or pull requests

1 participant