You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cursor of user Adrain Frami was incorrectly converted, and it should be positioned at the last position of the second paragraph。
Cause
We analyzed the reason for this problem. Due to the operation of slate to yjs, the original yjs structure data was deleted (the data structure corresponding to the user's Adrain Frami focus), so an exception occurred when the absolutePositions was converted through relativePosition, and the original corresponding relationship be broken.
Resolve
First of all, I don’t have a solution to this problem. I understand that it may be related to split_node operation.
You are correct that this is related to the translation of the split-node operations. It's currently out of the scope for the initial v4 release but this is definitely something that should be fixed in the future.
Bug description
The cursor of user Adrain Frami was incorrectly converted, and it should be positioned at the last position of the second paragraph。
Cause
We analyzed the reason for this problem. Due to the operation of slate to yjs, the original yjs structure data was deleted (the data structure corresponding to the user's Adrain Frami focus), so an exception occurred when the absolutePositions was converted through relativePosition, and the original corresponding relationship be broken.
Resolve
First of all, I don’t have a solution to this problem. I understand that it may be related to split_node operation.
slate-yjs/src/applyToYjs/node/splitNode.ts
Line 13 in 64775ed
I am not sure if the next branch or v4 is trying to solve this problem
The text was updated successfully, but these errors were encountered: