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:
parent
d72d69debb
commit
17d11c6ce3
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ Vue.use(Notifications)
|
||||||
import FontAwesomeIcon from './icons'
|
import FontAwesomeIcon from './icons'
|
||||||
Vue.component('icon', FontAwesomeIcon)
|
Vue.component('icon', FontAwesomeIcon)
|
||||||
|
|
||||||
Vue.use(vueShortkey, {prevent: ['input', 'textarea', '.input']})
|
Vue.use(vueShortkey, {prevent: ['input', 'textarea', '.input', '[contenteditable]']})
|
||||||
|
|
||||||
import focus from './directives/focus'
|
import focus from './directives/focus'
|
||||||
Vue.directive('focus', focus)
|
Vue.directive('focus', focus)
|
||||||
|
|
Loading…
Reference in a new issue