mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-05 09:34:37 +08:00
@ -25,7 +25,7 @@ export class Shortcuts extends Component {
|
||||
|
||||
setupListeners() {
|
||||
window.addEventListener('keydown', event => {
|
||||
if (event.target.closest('input, select, textarea')) {
|
||||
if (event.target.closest('input, select, textarea, .cm-editor')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user