Technical Anshu
Tutorials Blog
Co Editing

How OnlyOffice Co Editing Works When Two People Edit Together

Two people, one document, no lock-outs and no emailed copies. How the shared session really works - and where its edges are.

By Technical AnshuLinux ServerSelf HostedTeam work
Watch the full video - Nextcloud and OnlyOffice setup and integration, step by step

The moment that sells this whole setup is two people editing one document at the same time - no file locks, no version chaos by email. This page explains what is really happening behind that moment: the live session, the two co-editing modes, and the exact point where changes become a saved file.

Inside a live co-editing session
Person A typing in paragraph 2seen live by B
Person B editing a tableseen live by A
Changes held during sessionon Docs server
Final file written backwhen session ends
Coloured cursors and name flags show who is where in the document right now.
Example of a two-person session - both cursors live, one shared document
1

What Actually Happens When Two People Open One File

Both users open the same document in Nextcloud. Instead of locking the file (the old shared-folder way), OnlyOffice puts both into one editing session run by the Docs server. Each person sees the other's cursor as a coloured flag with a name, and text appears as the other person types it. There is still one file in Nextcloud - the session is a shared workspace on top of it.

Changes during the session live on the Docs server. When the last person closes the document, the Docs server assembles the final file and sends it back to Nextcloud through the callback. That is why a stable Docs server matters: it is holding the live session.

2

Fast Mode and Strict Mode - The One Setting to Know

OnlyOffice has two co-editing behaviours, and the connector settings in Nextcloud let the admin choose the default:

  1. Fast mode - changes appear for everyone in real time as they are typed. This is the Google Docs style experience and the right default for teamwork.
  2. Strict mode - the paragraph you are editing is locked for others, and your changes become visible when you save. This suits careful document review where half-finished sentences should not flash on everyone's screen.

Users can also switch their own view of the mode inside the editor's collaboration settings in many setups, but the admin default decides what the team gets.

3

What Co-Editing Is Honest About - And Its Edges

Two people typing in the same sentence at the same second can still tangle each other's words - the software merges character by character, it does not read minds. Teams develop the simple habit of working in different sections, which the visible cursors make easy.

Also know: tracked changes and comments work during co-editing, chat sits inside the editor, and version history in Nextcloud records the file states after sessions close - not every keystroke. If the Docs server crashes mid-session, work since the last assembled save can be lost; the recovery is the Docs server's session cache, which is one more reason the backup guide says to back up during quiet hours.

4

Try It Properly Before the Team Does

  1. Open one test document from two browsers or two accounts at the same time.
  2. Type in different paragraphs and watch the cursors and live text.
  3. Both close the document, reopen it from Nextcloud, and confirm every change is in the real file.
  4. Then open it on a phone browser - viewing and light edits work, heavy editing is a desktop job. Set the team's expectations with that test, not with a promise.

Watch the Complete Video Guide

Watch the video's live demo of a document being opened and edited - that session behaviour is exactly what this page explains.

Watch Full Video
Common Questions (FAQ)

Can two people really edit the same paragraph together?

Technically yes - the editor merges changes character by character and shows both cursors live. In practice, two people typing in the same sentence at the same second can garble each other's words. Teams naturally split by section, which the visible cursors make easy.

When does the file in Nextcloud actually update?

The Docs server holds the changes during the session and writes the finished file back to Nextcloud when the last editor closes the document (or through its save cycle). Nextcloud version history then keeps that saved state, not every keystroke.

What is the difference between Fast and Strict mode?

Fast mode shows everyone's typing live, Google Docs style. Strict mode locks the paragraph being edited and reveals changes when that person saves, which suits formal review. The admin sets the default in the Nextcloud connector settings.

This guide is based on the Technical Anshu video on Nextcloud and OnlyOffice integration. Stuck on a step? Ask in the video comments - you will get an answer there.