diff --git a/packages/frontend/src/composables/markdown.ts b/packages/frontend/src/composables/markdown.ts index e5efa6c7..f28504dd 100644 --- a/packages/frontend/src/composables/markdown.ts +++ b/packages/frontend/src/composables/markdown.ts @@ -255,7 +255,7 @@ export function useMarkdownEditorBase(options: { keymap.of([ ...defaultKeymap, ...historyKeymap, - { key: 'Ctrl-Alt-m', stopPropagation: true, run: createCommentShortcut }, + { key: 'Ctrl-Alt-m', stopPropagation: true, preventDefault: true, run: createCommentShortcut }, ]), tooltips({ parent: document.body }), EditorView.domEventHandlers({