I think the front-end of multi-person editing is harder than the back-end. In fact, multi-person editing is essentially similar to a chat room. Synchronization between multiple people can be achieved using websocket, and the backend implements a service similar to echo server. The front-end editor feels like it requires a lot of code, and it depends on how rich text you want to achieve.
First you need an asynchronous framework, then you will use websocket, and the rest is to use the text editor. Finally, how often is the communication timed? Is it a process of waiting for the user to complete the input before sending or typing? It is sent once for each character input.
I think the front-end of multi-person editing is harder than the back-end. In fact, multi-person editing is essentially similar to a chat room. Synchronization between multiple people can be achieved using websocket, and the backend implements a service similar to echo server. The front-end editor feels like it requires a lot of code, and it depends on how rich text you want to achieve.
First you need an asynchronous framework, then you will use websocket, and the rest is to use the text editor. Finally, how often is the communication timed? Is it a process of waiting for the user to complete the input before sending or typing? It is sent once for each character input.