The Publish Shortcut

By default, the Publish buttons in CUE are assigned the shortcut ctrl+shift+s / command+shift+s. You can, however, replace this default with another shortcut or remove it entirely by adding a publishButtonShortcut entry to one of the configuration files in /etc/escenic/cue-web/. Removing the shortcut from these buttons reduces the risk of users unintentionally publishing content while editing.

To remove the default shortcut from the Publish buttons, set the value of publishButtonShortcut to an empty array:

publishButtonShortcut: []

To replace the default shortcut with your own shortcut, fill the array with the key combinations you want to use:

publishButtonShortcut: ['mod+alt+p']

mod is shorthand for both the ctrl key on Windows and the command key on Macs, so the above is equivalent to:

publishButtonShortcut: ['ctrl+alt+p','command+alt+p']

Be careful not to choose a key combination that is already in use – either by CUE, the browser or the operating system.