Hey, does anyone know what would be the right approach to creating a collaborative text editor like google docs or etherpad?
What I came up with is I made a rich text editor create a new document every time its content is edited and its initial content is set to the last document created value. However, while it does display changes for multiple users at the same time, I don’t think it’s the most optimal solution. When both users try to edit text at the same time, it becomes a mess. I thought of making the rich text editor widget lock out for other users when one is in focus with the text editor, so I tried setting a conditional “when this richTextInput’s field is focused then this input is disabled” but obviously it disables the input for everyone making the text editor pretty much unclickable lol. I’d very much appreciate any ideas