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

Merged
konrad merged 1 commits from dpschen/frontend:feature/prevent-vue-shortkey-use-in-contenteditable into main 2021-09-22 16:25:10 +00:00
1 changed files with 1 additions and 1 deletions

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)