fix(editor): Fix redo in code and expression editor (#5708)
* fix(editor): Fix redo in code and expression editor
* ⚡ Updating keymap to use platform-specific command key
This commit is contained in:
committed by
GitHub
parent
233f1fa7ec
commit
cd7a55ba5a
@@ -14,6 +14,7 @@ import {
|
||||
indentWithTab,
|
||||
insertNewlineAndIndent,
|
||||
toggleComment,
|
||||
redo,
|
||||
} from '@codemirror/commands';
|
||||
import { lintGutter } from '@codemirror/lint';
|
||||
|
||||
@@ -36,6 +37,7 @@ export const baseExtensions = [
|
||||
{ key: 'Tab', run: acceptCompletion },
|
||||
{ key: 'Enter', run: acceptCompletion },
|
||||
{ key: 'Mod-/', run: toggleComment },
|
||||
{ key: 'Mod-Shift-z', run: redo },
|
||||
indentWithTab,
|
||||
]),
|
||||
EditorView.lineWrapping,
|
||||
|
||||
Reference in New Issue
Block a user