X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/63d62722825b9ba77f75db531363d29f9dcc6c68..refs/pull/3918/head:/resources/js/markdown/shortcuts.js diff --git a/resources/js/markdown/shortcuts.js b/resources/js/markdown/shortcuts.js index 1249f7d60..17ffe2fb3 100644 --- a/resources/js/markdown/shortcuts.js +++ b/resources/js/markdown/shortcuts.js @@ -40,7 +40,7 @@ export function provide(editor, metaKey) { shortcuts[`${metaKey}-7`] = cm => editor.actions.wrapSelection('\n```\n', '\n```'); shortcuts[`${metaKey}-8`] = cm => editor.actions.wrapSelection('`', '`'); shortcuts[`Shift-${metaKey}-E`] = cm => editor.actions.wrapSelection('`', '`'); - shortcuts[`${metaKey}-9`] = cm => editor.actions.wrapSelection('
', '
'); + shortcuts[`${metaKey}-9`] = cm => editor.actions.cycleCalloutTypeAtSelection(); shortcuts[`${metaKey}-P`] = cm => editor.actions.replaceLineStart('-') shortcuts[`${metaKey}-O`] = cm => editor.actions.replaceLineStartForOrderedList()