# Drafts, publishing and live editing

> How editing a Docs page works — private drafts you publish as versions, or real-time co-editing where readers see changes as they're typed — and how to switch a page between the two.

Source: https://docs.sofiaspace.uz/docs/drafts-and-live-editing/

A Docs page publishes in one of two ways. **Manually** (the default): when you choose **Edit** you get your own private draft, and nobody sees your changes until you choose **Publish**. **Automatically**: everyone who edits joins one shared session, sees each other's changes and cursors in real time, and readers follow along as people type. This page explains both modes, how to switch between them, and how conflicts, idle time and presence work.

**Who can do this:** editing needs edit access to the page: the **Editor** or **Admin** role in its space, or **Can edit** on the page through sharing, and not excluded by the page's **Who can edit** restriction. Changing a page's publishing mode needs the same edit access. Available on every plan.

## Which mode should I use?

| Mode | Best for | How it feels |
| --- | --- | --- |
| **Manually** | Specs, policies, handbooks: pages you want to review before others see changes | Like a word processor with a Publish button. Each publish is a version. |
| **Automatically** | Meeting notes, brainstorms, checklists people fill in together | Like a shared document. Changes reach readers as they're typed. |

You can change a page's mode at any time. Each page has its own mode; sub-pages don't inherit it.

## Switch a page between Manually and Automatically

1. Open the page.
2. Choose **⋯ → Page details**.
3. Under **Publishing**, choose **Manually** or **Automatically**.

A short message confirms the change: *Edits now reach readers as they're typed.* or *Edits are drafts now. The current text is the published version.* The page header's **Status** in **Page details** shows **Publishes manually** or **Publishes automatically**.

What happens to the text when you switch:

- **Manually → Automatically:** if you have your own unpublished draft that is newer than the published version, the shared session starts from your draft (and your draft is used up). Otherwise it starts from the published version. Other people's private drafts are not merged in.
- **Automatically → Manually:** the current live text is saved as a version first (unless it already is the newest version), and becomes the published text.

Interactive HTML pages can only publish manually: they are replaced by uploading a new version. Language versions (translations) always use drafts and **Publish**, even when the original publishes automatically.

## Edit a page that publishes manually

1. Open the page and choose **Edit**. (If you already have an unpublished draft of it, the button says **Continue draft**.)
2. Write. Your draft saves itself as you type; the header shows **Saving…** and then **Your draft · saved**.
3. When you're ready, choose **Publish**. The page now shows your text to everyone, as a new version, and a message confirms *Published version …*.

While you edit, only you can see your draft (hover the status to see *Only you can see this draft until you publish it.*). Readers keep seeing the last published version. Several people can each have their own draft of the same page at once.

To leave without publishing, choose **Close** (shown when you haven't changed anything) or simply go to another page: your draft is kept, and **Edit** becomes **Continue draft** next time. The **Drafts** shortcut at the bottom of the page tree jumps to your most recent unpublished draft.

### Throw away a draft

1. While editing, choose **Discard draft**.
2. Confirm. Your unpublished changes are deleted; the published version stays as it is.

### What if someone published while I was drafting?

If a newer version was published after you started your draft, a banner says so (*Version … was published after you started this draft. Publishing replaces it.*). You can:

- choose **Discard and start from the latest** to drop your draft and start again from the newest text, or
- keep going and choose **Publish**. You're asked to confirm: **Publish anyway** replaces the other person's version as the current one (theirs stays in [version history](https://docs.sofiaspace.uz/docs/version-history.md)), or **Keep editing** returns you to your draft.

Drafts are never merged automatically. To combine both sets of changes, open the newer version from history, copy what you need into your draft, then publish.

## Edit a page that publishes automatically

1. Open the page and choose **Edit**. You join the shared editing session.
2. Write. Changes save continuously; the header shows **Saved**.
3. When you're finished, choose **Done**. Your changes are already saved; if you changed anything, a version is added to [version history](https://docs.sofiaspace.uz/docs/version-history.md).

While you're in the session:

- Everyone else editing appears in the header, and each person's cursor shows in the text with their name and colour.
- Readers who have the page open see the changes appear as they're typed, without reloading.
- In the read view, **Editing now:** in the header lists who is in the session.
- Versions are added to history at most every 10 minutes while people keep editing, so history shows the page's progress without saving every keystroke.

If you leave the editor untouched for 15 minutes, editing stops on its own: *You were idle, so editing stopped. Your changes are saved.* Choose **Edit** to continue.

If the page is replaced from outside the editor while you're in the session, for example when someone restores an older version or an AI app rewrites the page, your editor closes so it can't overwrite that change. Open it again to keep editing.

Only people with edit access see **Edit** on a page that publishes automatically. Everyone else reads the live text.

## Can two people edit at the same time?

Yes, in both modes, but differently:

- **Automatically:** you edit the same text together and see each other's changes live. There's nothing to merge.
- **Manually:** each person edits a separate private draft. Whoever publishes last decides the current text; the other version stays in history.

If your team often edits the same page at once, switch it to **Automatically**.

## What do readers see?

| Mode | Readers see |
| --- | --- |
| **Manually** | The last published version. **Page details → Status** shows when it was published, for example *v4 published …*. A page that has never been published shows **Not published yet** and has no content for readers. |
| **Automatically** | The current live text, updated as people type. |

A page's [public link](https://docs.sofiaspace.uz/docs/public-links.md) follows the same rule: the published version for a manual page, the live text for an automatic one.

## What you can't do

- You can't see or edit someone else's private draft.
- You can't merge two drafts automatically.
- You can't schedule a publish for later.
- Interactive HTML pages and translations can't publish automatically.
- Comments on selected text aren't offered while you're editing a private draft; comment from the read view instead. See [Comments on pages](https://docs.sofiaspace.uz/docs/comments.md).

## Related

- [Version history](https://docs.sofiaspace.uz/docs/version-history.md)
- [The page editor](https://docs.sofiaspace.uz/docs/editor.md)
- [Sharing and page access](https://docs.sofiaspace.uz/docs/sharing-and-access.md) — who has edit access.
