[PRO]: Text selection across multiple nodes causes comment mark to overextend. #5075
Open
2 tasks 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
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?
Creating a comment with a text selection across multiple nodes applies the comments to both nodes fully, rather than just the selected text.
Steps to reproduce:
setThread
on those nodes.This is reproducible in the comments demo on your website here.
What browser are you using?
Chrome
Code example
https://tiptap.dev/docs/editor/comments/overview
What did you expect to happen?
Comment mark applies only to the selected text.
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: