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
I am trying to use the collaboration plugin. I am using a central websocket server to centralize interactions. This server (springboot gateway running on tomcat) has a buffer size limit for websocket messages. The exchange will fail if the message sent by the client goes over this limit. Websocket exchanges are meant to be small so it should not be a big deal usually.
This being said, if one uses lexical with the markdown plugin to import ($convertToMarkdownString) then issues begin as the markdown plugin updates the whole document at once and there is no way I could see to break the update. If a large document is imported using that method then a large yjs message is sent on the websocket.
I could also see such an issue happen if one copy pasted a big bloc of text inside lexical.
Is there a way to split the message in the yjs client? I'm not sure if this is more of a lexical or yjs problem
Am I doing something wrong here? Is there a way to address this? Thanks in advance.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to use the collaboration plugin. I am using a central websocket server to centralize interactions. This server (springboot gateway running on tomcat) has a buffer size limit for websocket messages. The exchange will fail if the message sent by the client goes over this limit. Websocket exchanges are meant to be small so it should not be a big deal usually.
This being said, if one uses lexical with the markdown plugin to import (
$convertToMarkdownString
) then issues begin as the markdown plugin updates the whole document at once and there is no way I could see to break the update. If a large document is imported using that method then a large yjs message is sent on the websocket.I could also see such an issue happen if one copy pasted a big bloc of text inside lexical.
Is there a way to split the message in the yjs client? I'm not sure if this is more of a lexical or yjs problem
Am I doing something wrong here? Is there a way to address this? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions