[Bug]: Inconsistent text between the editor and the plain text #5095
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?
react, @blocknote/react
What Tiptap version are you using?
2.0.3
What’s the bug you are facing?
If user edits text in the editor and moves (select/copy/insert) paragraphs a little bit then he can ends up in a situation when he sees only 1 new line in the editor but there will be 3 new lines in plain text that is extracted via
getText()
What browser are you using?
Chrome
Code example
https://stackblitz.com/edit/github-yztwza?file=App.tsx
What did you expect to happen?
I expected editor to correctly display 3 new lines same as in plain 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: