← zeditor docs

zeditor — collaboration

Two independent editors, each with its own Yjs document, connected through an in-memory hub. Type in both, select text to see remote selections, take one client offline, keep editing on both sides, then reconnect: the changes merge. Undo only reverts your own edits. Add ?room=demo to the URL to collaborate between browser tabs instead (BroadcastChannel).