Collaborative Editing Experience
Does anyone here have any experiencing using convex with some editor for doing collaborative editing?
I've spent quite a lot of hours on trying to get something function without any success. I've found lots of implementations of this type of feature using socket.io with quilljs etc., but I'm having a hard time understanding how to translate that to convex paradigm.
I seem to end up in this place where I've got a sort of infinite loop going on.
Would love to talk with anyone who has experience implementing this kind of functionality.
4 Replies
hi @stevanfreeborn ! @RJ built something with the ProseMirror project awhile ago here: https://github.com/rjdellecese/scroll/
GitHub
GitHub - rjdellecese/scroll
Contribute to rjdellecese/scroll development by creating an account on GitHub.
here's an old support thread about using operational transform (OT) with convex: https://discord.com/channels/1019350475847499849/1142236511132196966/1142236511132196966
are you familiar with OT? most collaborative editing interfaces use operational transform under the hood to sync editor state and multi-user changes in a way that provides reasonable conflict semantics
Scroll is still up and running here if you want to try it out: https://scroll.ink/
I’m not. This is really my first experience trying to implement something like this. I built a small prototype using socket.io just to try and grok the overall idea and pattern.
I’m trying to use codemirror as my editor so I’ll dig into that prosemirror poc and see if I can’t take inspiration from that.
From the thread you shared it sounds like this is very much though a use case convex can support.
It's listed here for future reference: https://discord.com/channels/1019350475847499849/1153069931487830117/1153069931487830117