Skip to content

Commit

Permalink
Merge pull request #6640 from nextcloud/backport/6639/stable5.0
Browse files Browse the repository at this point in the history
[stable5.0] Fix: avoid hotkeys in contenteditable
  • Loading branch information
st3iny authored Jan 21, 2025
2 parents 3960b13 + 6e689e2 commit 693b2db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const pinia = createPinia()
// register global components
Vue.directive('ClickOutside', ClickOutside)
Vue.use(VTooltip)
Vue.use(VueShortKey, { prevent: ['input', 'textarea'] })
Vue.use(VueShortKey, { prevent: ['input', 'textarea', '.rich-contenteditable__input'] })

// CSP config for webpack dynamic chunk loading
// eslint-disable-next-line
Expand Down

0 comments on commit 693b2db

Please sign in to comment.