tiptap
tiptap copied to clipboard
[Bug]: Copied paragraph with several <br> pasting into editor without last <br>
Affected Packages
extension-hard-break
Version(s)
2.5.8
Bug Description
This can be reproduced on https://tiptap.dev/docs/examples/basics/formatting.
If you type 2 or more br tags in a row, then copy the entire content and paste it into the editor - you'll get 1 less br tag.
https://github.com/user-attachments/assets/233786fa-bb40-44f1-a350-ee0338ba3afc
Browser Used
Chrome
Code Example URL
https://tiptap.dev/docs/examples/basics/formatting
Expected Behavior
If you copy a paragraph that has 6 br tags (hard break's) tags at the end, you should get a paragraph with all the
tags when you paste it in
Additional Context (Optional)
No response
Dependency Updates
- [X] Yes, I've updated all my dependencies.