[Bug]: error position of collaborative cursor #5901
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
@tiptap/core v2.8.0 ,@tiptap/extension-collaboration-cursor v2.8.0, @hocuspocus/provider v2.13.7
Version(s)
2.8.0
Bug Description
Two cooperative users, one cooperative user enters the code block, the cursor is positioned in the code block, the other user the cooperative cursor is correct,
However, when the user revocates the block, the cursor returns to the top of the line, and the other user, the cooperative cursor runs up to open a new blank line
this is official test address tiptap模板
step1 : open two windows editor, write a code block in a window
step2: Keep ctrl + z to undo until you undo the code block, and the following questions then arise,error cursor of position
Browser Used
Chrome
Code Example URL
No response
Expected Behavior
the position right of collaborative when the code block undo, please help me resolve the question
Additional Context (Optional)
No response
Dependency Updates
The text was updated successfully, but these errors were encountered: