diff --git a/www/common/sframe-common-codemirror.js b/www/common/sframe-common-codemirror.js index 6174e3a4c..f8e60aabe 100644 --- a/www/common/sframe-common-codemirror.js +++ b/www/common/sframe-common-codemirror.js @@ -62,6 +62,7 @@ define([ }); editor._noCursorUpdate = false; + editor.state.focused = true; if(selects[0] === selects[1]) { editor.setCursor(posToCursor(selects[0], remoteDoc)); }