[PRO]: Deleting node with comment mark does not delete comment #5076
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?
Deleting a comment node/mark in the editor does not propagate the delete to the thread. If you make a comment on some text, then delete the text, the comment still exists as a “dangling comment”.
Steps to reproduce:
This is reproducible in your comments demo here.
What browser are you using?
Chrome
Code example
https://tiptap.dev/docs/editor/comments/overview
What did you expect to happen?
Deleting the text with the comment mark applied causes the comment to be deleted.
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: