dchenk/go-render-quill

OT

Opened this issue · 2 comments

This library looks awesome.
I want to get Operation Transforms working with it and write tests to show it working.

But from what i can see it does not support OT enough ?
https://quilljs.com/docs/delta/
They say.
" construct Deltas by hand—rather use the chainable insert(), delete(), and retain()"

DO we need to add those functions to the library so we can do OT's properly ?

Feel free to send a PR. On the backend there's really no need for non-insert operations unless some sort of syncing is being done.

Ok well at least my understanding was correct because yes i want to do sync.

Prior art here showing it
https://github.com/fmpwizard/go-quilljs-delta/blob/master/delta/op.go