I’m trying to solve an issue with the way textblockHacks works during collaborative editing. We render an empty span decoration to represent the remote collaborator’s cursor, and when the remote collaborator is typing fast, we see “bouncing” text in the local editor.
This occurs because of the way textblockHacks inserts a br tag after the local content, even if that content is a decoration. I’m trying to find a “ProseMirror-ish” solution to this issue. All I can think of is setting the node schema to inline, but as it’s being rendered as a paragraph, that doesn’t really seem like the right thing.
I figured I’d ask here and see if anyone has encountered and/or resolved this issue already.