[PRO]: Undo does not work properly with comments #5077
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
Which packages did you experience the bug in?
comments
What Tiptap version are you using?
"@tiptap-pro/extension-comments": "^2.8.1",
What’s the bug you are facing?
Undo does not seem to work properly with comments, there’s two types of errors here:
Undo removes the mark but doesn’t delete the comment.
Steps to reproduce:
Undo removes the comment but leaves the mark.
This is reproducible in the comments demo here
What browser are you using?
Chrome
Code example
https://tiptap.dev/docs/editor/comments/overview
What did you expect to happen?
Undo will either delete or restore both the comment and the mark, not one or the other.
Anything to add? (optional)
No response
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: