mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
fix(editor): Support backspacing with modifier key (#5845)
Support backspacing with modifier key
This commit is contained in:
parent
1eba4788f2
commit
11692c55f3
|
@ -15,6 +15,7 @@ import {
|
|||
insertNewlineAndIndent,
|
||||
toggleComment,
|
||||
redo,
|
||||
deleteCharBackward,
|
||||
} from '@codemirror/commands';
|
||||
import { lintGutter } from '@codemirror/lint';
|
||||
|
||||
|
@ -38,6 +39,7 @@ export const baseExtensions = [
|
|||
{ key: 'Enter', run: acceptCompletion },
|
||||
{ key: 'Mod-/', run: toggleComment },
|
||||
{ key: 'Mod-Shift-z', run: redo },
|
||||
{ key: 'Backspace', run: deleteCharBackward, shift: deleteCharBackward },
|
||||
indentWithTab,
|
||||
]),
|
||||
EditorView.lineWrapping,
|
||||
|
|
Loading…
Reference in a new issue