Skip to content

Commit

Permalink
Merge branch 'mde-comment-shortcut' into 'main'
Browse files Browse the repository at this point in the history
Add comment shortcut Ctrl+Alt+Shift+m

See merge request reportcreator/reportcreator!813
  • Loading branch information
MWedl committed Dec 23, 2024
2 parents b5f4208 + 45bb187 commit fb99401
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 fb99401

Please sign in to comment.