38 points · by javalin · 8y ago · 5 comments
https://en.wikipedia.org/wiki/Operational_transformation
Quill editor has a pretty good implementation of this called “Delta” that I’ve used to build something similar before.
Not to mention Quill is a great library overall!
Edit: Also, the HN title was edited by a HN mod, the title I used to post here was "Show HN: Basic Google Docs clone in Kotlin with WebSockets (tutorial)"