[Bug]: Link pasting unexpected behavior change #4484
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
core, extension-link
What Tiptap version are you using?
2.1.11
What’s the bug you are facing?
Pasting a link on existing text used to add a link mark on the text while keeping the text, it now seems to replace the text with the link.
What browser are you using?
Chrome
Code example
https://tiptap.dev/api/marks/link
What did you expect to happen?
Pasting a link on selected text will just add a link mark on the selected text.
Anything to add? (optional)
This used to work in 2.0.4 and 2.1.10. It is caused by this change #4354
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: