diff --git a/www/common/sframe-common-codemirror.js b/www/common/sframe-common-codemirror.js index 1d5943255..2cf288bdd 100644 --- a/www/common/sframe-common-codemirror.js +++ b/www/common/sframe-common-codemirror.js @@ -176,6 +176,11 @@ define([ else { editor.execCommand("insertTab"); } } }, + //remove focus from editor + "Shift-Enter": function () { + document.activeElement.blur(); + document.querySelector('[tabindex="0"]').focus(); + }, "Shift-Tab": function () { editor.execCommand("indentLess"); },