From 17d11c6ce387ce15141a27574701aa3801f924b7 Mon Sep 17 00:00:00 2001 From: dpschen Date: Wed, 22 Sep 2021 16:25:09 +0000 Subject: [PATCH] fix: prevent vue-shortkey use in elements with contenteditable (#775) Co-authored-by: Dominik Pschenitschni Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/775 Reviewed-by: konrad Co-authored-by: dpschen Co-committed-by: dpschen --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 43870d19a..2fc17bc43 100644 --- a/src/main.ts +++ b/src/main.ts @@ -59,7 +59,7 @@ Vue.use(Notifications) import FontAwesomeIcon from './icons' Vue.component('icon', FontAwesomeIcon) -Vue.use(vueShortkey, {prevent: ['input', 'textarea', '.input']}) +Vue.use(vueShortkey, {prevent: ['input', 'textarea', '.input', '[contenteditable]']}) import focus from './directives/focus' Vue.directive('focus', focus)