Using Yjs v13 with input and textareas

Hey Yjs team.

We are connecting yjs v13 to inputs and textareas. When 2 or more users are typing they share the same cursor and the text is scrambled. Does multicursor handle the merge so 2 or more users can type in same textarea?

Thanks Frank

Hi @CoCreator-Frank Sorry, y-textarea is not yet available for v13. Will start working on it soon. But it won’t support shared cursors, because there is no browser API to render remote cursors in textareas / input areas.

Hey I came across this post a few weeks ago, and implemented this: y-textarea - npm

posting here in-case it helps anybody.

1 Like