mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-27 06:01:54 +03:00
Lexical: Range of fixes
- Prevented ui shortcuts running in editor - Added form modal closing on submit - Fixed ability to escape lists via enter on empty last item
This commit is contained in:
@ -25,7 +25,7 @@ export class Shortcuts extends Component {
|
||||
|
||||
setupListeners() {
|
||||
window.addEventListener('keydown', event => {
|
||||
if (event.target.closest('input, select, textarea, .cm-editor')) {
|
||||
if (event.target.closest('input, select, textarea, .cm-editor, .editor-container')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user