Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: Collaborative editing with Quill (codepen.io)
5 points by nusnus on Sept 12, 2018 | hide | past | 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 | Lists | API | Security | Legal | Apply to YC | Contact

Search: