6 ms·
> Since cursor position is not included in OT I'm not sure I follow your example where <p>abcd|ef</p> becomes <p>abc123d|</p> though. In the OT-less example, I
by adityab 12y ago
> Since cursor position is not included in OT I'm not sure I follow your example where <p>abcd|ef</p> becomes <p>abc123d|</p> though.
In the OT-less example, I meant that for A,
<p>abcd|ef</p>
, where | is B's cursor, would become
<p>abc123d|</p>
when A inserts '123' at position 3, because it would push any other content to the right, including a cursor, because the cursor must remain between the two letters it was between, regardless of what changes in the surrounding text some distance away.
> This was a tradeoff we made to launch earlier but more core cursor sync support is definitely possible in the future.
Makes sense. Looking forward to see more. :)