Editing a page
There's no form and no preview. You click the page itself, type, and Verso saves the change to your site's files as you go.
Run npm run dev in your site's folder. Verso opens the home page at http://localhost:4321/, with a dark bar along the bottom. If that port is busy, it tries the next one along and prints the address it used.
Click, type, done
Move the pointer over the page and every editable part is outlined, with its field name. Click any text to edit it right there. Press Enter or Escape, or click somewhere else, when you're done.
- Text fields are one line of plain text. Pasted text stays plain.
- Rich text fields show a small toolbar with only the tools that field allows. See Rich text.
- Images open a small panel when you click them, to replace the image, remove it or write its alt text. You can also drop an image file straight onto one. See Images.
Text inside a link edits instead of following the link. To follow it, hold Cmd (Ctrl on Windows) and click.
Saving
There's no save button. A moment after you stop typing, Verso writes the change to the page's files. The status in the bar shows a pulsing dot and "Saving…" while it works, then a green dot and "Saved". If you press Cmd+S out of habit, Verso tells you everything is already saved.
If a field appears more than once on a page, like a name in both the header and the footer, editing one updates the others as you type.
The bar
| Part | What it does |
|---|---|
| Page name | Opens the page menu: every page in the site, plus New page and Find a page or action, which is the command palette. |
| Status | Says whether your changes are saved. |
| Undo and redo | Step back and forward through changes on this page. See Undo and history. |
| Sliders | Opens Page settings. |
| Publish | Makes your changes live. The number on it is how many pages have changed. |
On wider screens the bar also has buttons for History, Blocks, Build a block, Site view, Channels, Design and Site settings. On a phone they move into the page menu, so the bar fits.
Required fields
A template can mark a field as required. While it's empty, the editor marks it on the page, so you can see what still needs filling in. Publish won't go ahead until it's filled.
New pages
Open the page menu and choose New page. Each page type is shown as a small live preview. Pick one, give the page a name, and choose where it goes: at the top level, or inside another page. Verso makes the folder from the name (so "Spring opening hours" becomes /spring-opening-hours/), sets the title and today's date, and opens the new page. If the page type has a starting layout, the new page starts with its blocks.
When something's wrong
If a template has a mistake, or a page refers to a template that doesn't exist, Verso shows what's wrong at the top right of the page, with the file and line. Fix it in your code editor; the editor reloads when you save.
Your changes are saved, but they're only on your computer. Next: publish them.