# The editor

A block editor that saves as you type, works with others in real time and never edits the live site directly.

## Start editing

Choose **Edit** on a space. Docsheaf opens your draft — your latest open draft in that space,
brought up to date with the published content, or a new one — so you never edit the live site
directly. Need a second, independent set of changes? Choose **New separate draft**.

Everything you type saves automatically. If someone else saved the same page in the meantime,
Docsheaf merges both versions block by block.

## Insert blocks

Type `/` at the start of an empty line to open the insert menu, then keep typing to filter it —
`/hint`, `/code`, `/tabs`. The menu groups blocks as **Basic**, **Inline**, **Blocks** and
**Media**. You can also hover a line and use the **+** beside it.

See [Blocks](blocks) for everything you can insert.

## Format text

Select text to show the formatting toolbar: bold, italic, underline, strikethrough, inline code,
links and comments. Markdown shortcuts work as you type — `#` for headings, `-` for lists, `>` for
quotes, `` ``` `` for code, and `$$x$$` for inline math.

The same toolbar has **Enhance**, which asks the AI for a better version of the selected text. See
[Enhance with AI](enhance-with-ai).

## Move blocks

Images, embeds, files, cards, page links and other blocks that hold one thing have a handle you
can drag to move them. Tables show their own controls to add and delete rows and columns.

## Page settings

The page header holds the title, the description under it, an emoji and a cover image. A page's
menu in the tree renames, duplicates or moves it, hides it from navigation or from search engines,
imports Markdown, Word or HTML into it, and deletes it.

## Upload images and files

Drop an image or a file into the editor, paste one, or use **Upload image** and **File** from the
insert menu. Files can be up to 20 MB. Uploaded files of a public, published site open for anyone;
files of private sites need a member's access or a signed link.

## Work together

People editing the same page see each other's cursors and edits as they happen — see
[Live editing](live-editing). Select text and choose **Comment** to start an inline
discussion — see [Comments](comments).
