Keyboard shortcuts
The visual editor's keyboard surface is twelve shortcuts deep. Press Cmd+/ at any time to summon the in-app shortcut sheet — it shows the same list, with platform-aware glyphs (⌘ / ⇧ on macOS, Ctrl on Windows / Linux).
Info
On Windows and Linux, Ctrl replaces Cmd for every shortcut listed below.
Selection
| Shortcut | Action |
|---|---|
| ArrowLeft | Select previous sibling |
| ArrowRight | Select next sibling |
| ArrowUp | Select parent element |
| ArrowDown | Select first child |
| Esc | Deselect / close modal / exit text edit Resolves the topmost active surface first. |
Editing
| Shortcut | Action |
|---|---|
| Cmd+D | Duplicate selected element Inside text editing, falls back to the browser default. |
| Delete | Hide selected element |
| Cmd+Z | Undo last change |
| Cmd+Shift+Z | Redo |
Save
| Shortcut | Action |
|---|---|
| Cmd+S | Save changes Works from anywhere — including inside text edits and form inputs. |
View
| Shortcut | Action |
|---|---|
| Cmd+Shift+P | Toggle preview-as-visitor Hides editor chrome so you see what a visitor sees. |
| Cmd+B | Toggle side panel (expanded ↔ rail) Collapses the Layers/Inspector panel to a thin vertical rail so the customer page reclaims the horizontal space. |
Help
| Shortcut | Action |
|---|---|
| Cmd+/ | Open the in-app shortcut sheet |
How Esc resolves
Esc is overloaded — it closes whatever's most salient. The editor resolves the keystroke in this order:
- If a modal is open, close the topmost modal.
- If you're in inline text-edit mode, exit the edit.
- If preview-as-visitor mode is active, return to the editor.
- If an element is selected, deselect it.
- Otherwise, do nothing — the keystroke falls through to the browser.
That order is why pressing Esc twice can do two different things: first Esc exits an active text edit; second Esc deselects.
Form-input gating
Most shortcuts are suppressed while you're typing in an <input>, <textarea>, or <select> — so Cmd+Z in the Inspector's text field undoes your typing, not the editor's history. The three global affordances stay active everywhere:
- Cmd+S always saves, even inside a focused input or contentEditable.
- Cmd+Shift+P always toggles preview-as-visitor.
- Cmd+/ always opens the shortcut sheet.
See also
- Editing toolkit — what each shortcut acts on (selection, rich text, drafts).
- Preview links — sharing a preview without leaving the editor.