Skip to main content

Hot keys

Easy Email Pro provides keyboard shortcuts (hot keys) to improve editing efficiency. These shortcuts are designed to work across different operating systems, with some platform-specific variations.

Default Hotkeys​

The following hotkeys are available across all platforms:

const HOTKEYS: Record<string, string> = {
formatBold: "mod+b",
formatItalic: "mod+i",
formatUnderline: "mod+u",
selectBlock: "mod+a",
save: "mod+s",
alignCenter: "mod+e",
alignLeft: "mod+l",
alignRight: "mod+r",
};

Where mod represents:

  • Command (⌘) on macOS
  • Control (Ctrl) on Windows/Linux

Platform-Specific Hotkeys​

Some hotkeys differ between operating systems:

macOS​

const APPLE_HOTKEYS: Record<string, string> = {
redo: "mod+shift+z",
undo: "mod+z",
};

Windows/Linux​

const WINDOWS_HOTKEYS: Record<string, string> = {
redo: "ctrl+y",
undo: "ctrl+z",
};

Hotkey Functions​

HotkeyFunctionShortcut (Windows/Linux)Shortcut (macOS)
formatBoldMake selected text boldCtrl+B⌘+B
formatItalicMake selected text italicCtrl+I⌘+I
formatUnderlineUnderline selected textCtrl+U⌘+U
selectBlockSelect the current blockCtrl+A⌘+A
saveSave the current documentCtrl+S⌘+S
alignCenterCenter-align textCtrl+E⌘+E
alignLeftLeft-align textCtrl+L⌘+L
alignRightRight-align textCtrl+R⌘+R
undoUndo last actionCtrl+Z⌘+Z
redoRedo last actionCtrl+Y⌘+Shift+Z

Using Hotkeys​

Hotkeys work when the editor has focus. Simply press the key combination to trigger the associated action. For example, to make text bold, select the text and press Ctrl+B (Windows/Linux) or ⌘+B (macOS).

Notes​

  • The mod key in hotkey definitions automatically maps to the appropriate modifier key for the user's operating system
  • Hotkeys follow standard conventions where possible to maintain familiarity for users
  • Some hotkeys may be overridden by browser or system shortcuts