y-quill
y-quill copied to clipboard
weird collaborator's cursor behavior
https://streamable.com/hy8xf
its not sync
and the other user's cursor always on start of text
https://github.com/y-js/y-quill/blob/master/src/y-quill.js#L42

const anchor = Y.createAbsolutePositionFromRelativePosition(Y.createRelativePositionFromJSON(aw.cursor.anchor), doc)
const head = Y.createAbsolutePositionFromRelativePosition(Y.createRelativePositionFromJSON(aw.cursor.head), doc)
collaborator's cursor index is always 0