Hi, I'd like to report a possibile bug that occurs when pasting a link with a new line separated by an hard break (I hope it's not a duplicate!).
When coping and pasting together:
a line with a link and
a following line separated by an hard break (that is a br)
the pasted link "extends" to the first word of the following line and the link pasted is incorrect:
(in this case, the pasted link will be https://google.comThis)
The problem doesn't show up if the two lines are in different paragraphs:
Affected Packages
extension-link
Version(s)
2.6.6
Bug Description
Hi, I'd like to report a possibile bug that occurs when pasting a link with a new line separated by an hard break (I hope it's not a duplicate!).
When coping and pasting together:
br
)the pasted link "extends" to the first word of the following line and the link pasted is incorrect: (in this case, the pasted link will be
https://google.comThis
)The problem doesn't show up if the two lines are in different paragraphs:
You can also see the same issue in the Tiptap public demo: https://templates.tiptap.dev/
Is this an actual issue or am I missing something? Thank you for your work!
Browser Used
Chrome
Code Example URL
https://stackblitz.com/edit/react-xqt1gu?file=src%2FApp.js
Expected Behavior
The copied link and the following line should be kept as in the original source.
Additional Context (Optional)
No response
Dependency Updates