From dba64a20b4e5ba420b364c32938fa600b8147dba Mon Sep 17 00:00:00 2001 From: Camille Date: Wed, 22 Feb 2023 10:34:31 +0100 Subject: [PATCH] fix: Harmonize enter key behaviour between formulas and transformations --- app/client/components/AceEditor.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/client/components/AceEditor.js b/app/client/components/AceEditor.js index 0fe8c980..44896b10 100644 --- a/app/client/components/AceEditor.js +++ b/app/client/components/AceEditor.js @@ -144,12 +144,9 @@ AceEditor.prototype.attachSaveCommand = function() { if (!this.observable) { throw new Error("Cannot attach save command to editor with no bound observable"); } - var key = 'Shift+Enter'; this.editor.commands.addCommand({ name: 'saveFormula', bindKey: { - win: key, - mac: key, sender: 'editor|cli' }, // AceEditor wants a command to return true if it got handled