CodeMirror 6: How to set up collaborative editing with clients and server?

It’s possible, but as you mention, it wouldn’t be a good default. You can add a scrollIntoView flag to transactions created with receiveUpdates (something like state.update(receiveUpdates(...), {scrollIntoView: true})).

1 Like