From ed330f246cabcea503d808b14804bebf55c32d90 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 20 Apr 2019 13:12:35 +0100 Subject: [PATCH] Updated md drawing mngr shortcut to work on mac cmd key Closes #1228 --- resources/assets/js/components/markdown-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/components/markdown-editor.js b/resources/assets/js/components/markdown-editor.js index 96cc1e6d1..55cf67813 100644 --- a/resources/assets/js/components/markdown-editor.js +++ b/resources/assets/js/components/markdown-editor.js @@ -64,7 +64,7 @@ class MarkdownEditor { let action = button.getAttribute('data-action'); if (action === 'insertImage') this.actionInsertImage(); if (action === 'insertLink') this.actionShowLinkSelector(); - if (action === 'insertDrawing' && event.ctrlKey) { + if (action === 'insertDrawing' && (event.ctrlKey || event.metaKey)) { this.actionShowImageManager(); return; }