[Bug]: Wrong cursor position after using undo and redo #5910
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
Affected Packages
core (?)
Version(s)
2.10.2
Bug Description
After using redo and undo, cursor position is wrong.
To reproduce:
Cursor is position is like this:
aaa|tt
. I'd expect it to be ataaatt|
cinnamon-2024-12-03T113945+0100.webm
Browser Used
Chrome
Code Example URL
https://templates.tiptap.dev/
Expected Behavior
Cursor position should update after redo.
Additional Context (Optional)
It seems to work correctly in ProseMirror: https://prosemirror.net/examples/basic/
Dependency Updates
The text was updated successfully, but these errors were encountered: