Collaboration

Understand collaboration

Let people edit the same document together, using your existing editor UI.

Without collaboration, two people opening the same DOCX are editing separate copies. With collaboration, they work on a shared document: an edit in one person's editor appears in the other's.

One document, two editors

Alex changes a delivery date. Sam sees the new date without reloading the document or opening another file.

Alex's editorChanges the date

Delivery is due Friday.

Shared roomDelivery agreement
Sam's editorReceives the change

Delivery is due Friday.

Illustration · Two editors, one shared document.

Both people can edit. SuperDoc synchronizes their document changes while each person keeps their own view and selection.

Connect through a room

A room connects the editors working on one shared document. Your application gives that room an ID so each editor knows which document to join. Opening the same file URL in two browsers does not connect them.

A provider carries changes between the connected editors. You can run a collaboration server yourself or use a hosted service. The next guide starts with a local Hocuspocus server.

The first editor creates the room from a DOCX. The second joins that room. From then on, they work with its shared content.

Keep the UI you already built

Collaboration works with built-in controls, custom controls, or a mix of both. You add a connection to the document; you do not need to rebuild your toolbar or review panels.

Your application still decides who can access the document and how it is saved. Those are server responsibilities, separate from showing another person's edits.

Try it with two editors

Connect two editors walks you through creating a room, joining from another tab, and watching an edit appear in both. Start there, then add presence and persistent storage.

On this page