Skip to content

Commit

Permalink
fix: avoid hotkeys in contenteditable
Browse files Browse the repository at this point in the history
Signed-off-by: Jana Peper <[email protected]>
  • Loading branch information
janepie committed Jan 21, 2025
1 parent f0145fe commit 91680d5
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'] })

Check warning on line 30 in src/main.js

View check run for this annotation

Codecov / codecov/patch

src/main.js#L30

Added line #L30 was not covered by tests

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

0 comments on commit 91680d5

Please sign in to comment.