mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
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
@@ -6,7 +6,7 @@
|
||||
import mixins from 'vue-typed-mixins';
|
||||
import { EditorView, keymap } from '@codemirror/view';
|
||||
import { EditorState, Prec } from '@codemirror/state';
|
||||
import { history } from '@codemirror/commands';
|
||||
import { history, redo } from '@codemirror/commands';
|
||||
|
||||
import { workflowHelpers } from '@/mixins/workflowHelpers';
|
||||
import { expressionManager } from '@/mixins/expressionManager';
|
||||
@@ -54,6 +54,7 @@ export default mixins(expressionManager, completionManager, workflowHelpers).ext
|
||||
return false;
|
||||
},
|
||||
},
|
||||
{ key: 'Mod-Shift-z', run: redo },
|
||||
]),
|
||||
),
|
||||
n8nLang(),
|
||||
|
||||
Reference in New Issue
Block a user