Hacker News new | comments | show | ask | jobs | submit login
Show HN: Collaborative editing with Quill (codepen.io)
5 points by nusnus 66 days ago | hide | past | web | favorite | 3 comments



The demo is built using OT (Operational Transformation) with Deltas.

The goals is to be able to let any one build their own 'Google Docs' like editor in < 10 lines of Js.

Also, currently looking at supporting Slate/Draft.js. Comments and feedback welcome.


How do you manage the state if multiple people try to change the same thing at the same time?


States are distributed in each users browser and are being updated by users as they modify the document. We then use operational transformation to ensure that states converge.




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: