fix: prevent vue-shortkey use in elements with contenteditable (#775)

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/775
Reviewed-by: konrad <k@knt.li>
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-09-22 16:25:09 +00:00 committed by konrad
parent d72d69debb
commit 17d11c6ce3

View file

@ -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)