A typographical logo of Contenido.

Shortcuts Map

Here you can find initial and default shortcut maps. For customization and enabling shortcuts checkout this doc.

Initial shortcuts #

This is the initial values that are used by getDefaultKeyBindingFn and shortcutHandler utility

styleshortcuthandler
BOLDctrl + b / cmd + btoggleBold
ITALICctrl + i / cmd + itoggleItalic
UNDERLINEctrl + u / cmd + utoggleUnderline
SOFT_NEW_LINE(event) => KeyBindingUtil.isSoftNewlineEvent(event) ? 'SOFT_NEW_LINE' : ''insertSoftNewline

Default shortcuts #

Default shortcuts provide a larger support for hotkeys and extends the ability of initial shortcuts.

styleshortcuthandler
LINE_THROUGHctrl + shift + x / cmd + shift + xtoggleLineThrough
SUPERSCRIPTctrl + shift + + / cmd + shift + +toggleSuperscript
SUBSCRIPTctrl + = / cmd + =toggleSubscript
text-align-rightctrl + shift + R / cmd + shift + R(state, stateHandler) => toggleTextAlign(state, stateHandler, 'text-align-right')
text-align-centerctrl + shift + E / cmd + shift + E(state, stateHandler) => toggleTextAlign(state, stateHandler, 'text-align-center')
text-align-leftctrl + shift + L / cmd + shift + L(state, stateHandler) => toggleTextAlign(state, stateHandler, 'text-align-left')
text-align-justifyctrl + shift + J / cmd + shift + J(state, stateHandler) => toggleTextAlign(state, stateHandler, 'text-align-justify')
OLctrl + shift + & / cmd + shift + &toggleOL
ULctrl + shift + * / cmd + shift + *toggleUL
blockquotectrl + shift + ( / cmd + shift + (toggleBlockquote
unstyledctrl + shift + \ / cmd + shift + \clear


Made with ❤ for a better experience

MIT © 2023 - This site does not track you.