Skip to content

Commit

Permalink
Add comment shortcut Ctrl+Alt+Shift+m
Browse files Browse the repository at this point in the history
  • Loading branch information
MWedl committed Dec 23, 2024
1 parent b5f4208 commit 45bb187
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/composables/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ export function useMarkdownEditorBase(options: {
...defaultKeymap,
...historyKeymap,
{ key: 'Ctrl-Alt-m', stopPropagation: true, preventDefault: true, run: createCommentShortcut },
{ key: 'Ctrl-Alt-Shift-m', stopPropagation: true, preventDefault: true, run: createCommentShortcut },
]),
tooltips({ parent: document.body }),
EditorView.domEventHandlers({
Expand Down

0 comments on commit 45bb187

Please sign in to comment.