Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You need to take the diff library - for example: jsdiff . After editing, send a patch to the server, which you apply to the text. If users edit different sections of the text, both changes will remain, but if one section, then you need to think about resolving conflicts. The simplest - "who is the last - that and slippers."
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question