I’m wondering if anyone in the community has ever implemented a realtime rich text editor with Parse?
We’re using React in our frontend and thinking about Drafts.js or Quill as the rich text editor.
My first thought was to store each document as a single JSON object but that leaves the problem of multiple users overwriting each other’s work. Quill has a feature called Deltas which describe the operations to transform an empty document into the end state. So I also thought about storing each delta as a row, grouped by a pointer to a parent object, which can be sorted by date.
Among my issues is that I find LiveQuery can be a bit temperamental. And I’m not sure what happens if two users on the same document get a mismatch of operational transforms.
All of this is really complicated. There’s an entire library to manage backends for this called ShareDB and it’s pretty complex. I’m wondering if there’s a good way to integrate ShareDB with Parse?
I’m hoping someone out there has had experience with this and could lend a guiding hand!