Undo and history
Undo covers the last few minutes. History covers everything you've ever published. Between them, nothing you do in Verso is permanent.
Undo and redo
Press Cmd+Z (Ctrl+Z on Windows and Linux) to undo, and Cmd+Shift+Z or Ctrl+Y to redo. The arrow buttons in the bar do the same; hover over them to see what they'll undo, like "Undo Headline".
Undo works on two levels:
- Inside a field, while you're typing, Cmd+Z undoes your typing in that field, step by step.
- Across the page, once you've left the field, each finished change is one step: a text field you edited, a rich field you left, an image you set or removed, alt text you changed, a setting you changed.
Undoing a step scrolls back to the field it changed, flashes it, and saves the result like any other edit. Redo puts it back. Making a new change after undoing clears the steps you could have redone.
History
Every Publish saves a restore point, and History lists them. Open it with the clock button in the bar, or choose History from the page menu.
The panel has two tabs:
- This page shows only the restore points that changed the page you're on, newest first. Each one has Preview and Restore buttons.
- Whole site shows every restore point, with links to the pages each one changed.
Each entry shows its message, like "Update Home (headline, intro)", who made it and how long ago. A restore point saved on your computer but not yet pushed is marked not published yet.
Preview a page as it was
Preview opens the page as it looked at that restore point, rendered with today's templates and styles, in a large window over the editor. Nothing changes while you look. If it's the version you want, press Restore this version.
Restore
Restoring puts the page's folder back as it was: its page.json, its rich text files and its images. It changes this page only. Other pages, templates and styles stay as they are.
A restore is an ordinary, unpublished change. The page reloads showing the old version, and the Publish button counts it. Nothing goes live until you publish, and you can keep editing first.
A restore never destroys anything. The version you replaced is still in History, so to undo a restore, restore a later version.
What History can't do
- It only knows about published restore points, and ones waiting to be pushed. Changes you never published aren't in it; undo is the only way back for those.
- Restore works on one page at a time. To roll back a template or the whole site, use git directly, or ask a developer.
- A page that didn't exist at a restore point has nothing to restore there, and Verso says so.
History is git underneath. Every entry is a real commit, so anyone comfortable with git can look at the same timeline with git log.
git log --oneline -- content/about/