Throughout this page, we use ⌘ to represent Cmd on Mac or Ctrl on Windows/Linux.
Global Shortcuts
These shortcuts work anywhere in Pala, except when a dialog is open:| Shortcut | Action |
|---|---|
| ⌘P | Open publish dialog (press again to publish) |
| ⌘↑ | Navigate to previous page (same level) |
| ⌘↓ | Navigate to next page (same level) |
Page View Shortcuts
While viewing a page in the editor:| Shortcut | Action |
|---|---|
| ⌘E | Open section dialog (when hovering over a block) |
Section & Block Editor Dialog
While editing a section or block in the dialog:| Shortcut | Action |
|---|---|
| ⌘S | Save changes |
| ⌘E | Toggle between Code and Content tabs |
| Esc | Close dialog |
| Shortcut | Action |
|---|---|
| ⌘1 | Switch to HTML pane |
| ⌘2 | Switch to CSS pane |
| ⌘3 | Switch to JavaScript pane |
| ⌘Enter | Format active code pane |
Pala uses CodeMirror for code editing. Some standard code editor shortcuts may work, but they’re not guaranteed.
Site Editor Dialog
While editing site configuration:| Shortcut | Action |
|---|---|
| ⌘S | Save changes |
Tips for Efficiency
Hold the modifier key to see available shortcuts
Hold the modifier key to see available shortcuts
When you hold ⌘/Ctrl, Pala shows you contextual hints for what shortcuts are available in your current view.
Use ⌘1/2/3 to switch code panes
Use ⌘1/2/3 to switch code panes
Instead of clicking each pane tab individually, use ⌘1 for HTML, ⌘2 for CSS, and ⌘3 for JavaScript. This makes editing much faster.
Use ⌘E to bounce between code and content
Use ⌘E to bounce between code and content
When editing blocks, quickly switch between writing code and previewing content without reaching for the mouse.
Publish often with ⌘P
Publish often with ⌘P
Make it a habit to publish frequently. Press once to open the dialog, press again to publish. Quick iterations help catch issues early.
Navigate pages with arrow keys
Navigate pages with arrow keys