An empty line is added when the user opens or reloads the the document . #384
Isini-Dananjana
started this conversation in
General
Replies: 1 comment 1 reply
-
I wonder if we could leverage suspense here? I imagine in most cases people would want some kind of loading indicator present instead of a blank document. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using YJS with Plate, it adds a new line to the top of a shared document whenever a new user joins the collaboration session. I think this happens due to the following code found in yTextToSlateElement.
When multiple users are in the same document, this empty line that is added also gets synced, resulting in many empty lines.
Any idea how to resolve the issue?
Beta Was this translation helpful? Give feedback.
All reactions