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 macOSControl (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​
| Hotkey | Function | Shortcut (Windows/Linux) | Shortcut (macOS) |
|---|---|---|---|
| formatBold | Make selected text bold | Ctrl+B | ⌘+B |
| formatItalic | Make selected text italic | Ctrl+I | ⌘+I |
| formatUnderline | Underline selected text | Ctrl+U | ⌘+U |
| selectBlock | Select the current block | Ctrl+A | ⌘+A |
| save | Save the current document | Ctrl+S | ⌘+S |
| alignCenter | Center-align text | Ctrl+E | ⌘+E |
| alignLeft | Left-align text | Ctrl+L | ⌘+L |
| alignRight | Right-align text | Ctrl+R | ⌘+R |
| undo | Undo last action | Ctrl+Z | ⌘+Z |
| redo | Redo last action | Ctrl+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
modkey 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