fix: Harmonize enter key behaviour between formulas and transformations

pull/438/head
Camille 1 year ago
parent c582797aa1
commit dba64a20b4

@ -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

Loading…
Cancel
Save