Adds keyboard shortcuts for common tasks to SilverStripe 3.1+ (ctrl/command+s for save anyone?)
JavaScript PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

SilverStripe Keyboard Shortcuts

Adds keyboard shortcuts for common tasks to SilverStripe 3.1+ (ctrl/command+s for save anyone?).


  • SilverStripe 3.1+


If you prefer you may also install using composer:

composer require undefinedoffset/silverstripe-keyboardshortcuts


These shortcuts are not guarenteed towork in all browsers on all operating systems, and what they do by default on your particualar browser/os is not guarenteed so take care. This module uses a slightly modified Mousetrap by ccampbell for it's keyboard event handling, modifications are to allow interfacing with TinyMCE.


ctrl+s/command+s Save/Save Draft

Pages only

ctrl+shift+s/command+shift+s Save and Publish

ctrl+n/command+n Add Page/Create Page

ctrl+k/command+k Toggle between Draft/Published Preview [not saved]

ctrl+m/command+m Toggle between preview modes (Split mode > Edit mode > Preview mode) saved in session

ctrl+j/command+j Toggle between preview sizes (Auto > Desktop > Tablet > Mobile) saved in session


ctrl+shift+k/command+shift+k Insert Link

alt+shift+k/alt+shift+k Unlink

ctrl+shift+m/command+shift+m Insert Media

ctrl+shift+l/command+shift+l Insert or Remove Bulleted List

ctrl+l/command+l Insert or Remove Numbered List

These are in addition to the built in keyboard shortcuts for TinyMCE:
ctrl+z/command+z Undo Typing

ctrl+y/command+y Redo Typing

ctrl+b/command+b Bold text

ctrl+i/command+i Italic text

ctrl+u/command+u Underline text

ctrl+1 to ctrl+6/command+1 to command+6 Heading 1 to 6

ctrl+7/command+7 Paragraph

ctrl+8/command+8 Div

ctrl+9/command+9 Address