/Docs

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

ShortcutAction
ArrowLeftSelect previous sibling
ArrowRightSelect next sibling
ArrowUpSelect parent element
ArrowDownSelect first child
EscDeselect / close modal / exit text edit
Resolves the topmost active surface first.

Editing

ShortcutAction
Cmd+DDuplicate selected element
Inside text editing, falls back to the browser default.
DeleteHide selected element
Cmd+ZUndo last change
Cmd+Shift+ZRedo

Save

ShortcutAction
Cmd+SSave changes
Works from anywhere — including inside text edits and form inputs.

View

ShortcutAction
Cmd+Shift+PToggle preview-as-visitor
Hides editor chrome so you see what a visitor sees.
Cmd+BToggle side panel (expanded ↔ rail)
Collapses the Layers/Inspector panel to a thin vertical rail so the customer page reclaims the horizontal space.

Help

ShortcutAction
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:

  1. If a modal is open, close the topmost modal.
  2. If you're in inline text-edit mode, exit the edit.
  3. If preview-as-visitor mode is active, return to the editor.
  4. If an element is selected, deselect it.
  5. 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.