diff --git a/shared/naturalcrit/codeEditor/codeEditor.jsx b/shared/naturalcrit/codeEditor/codeEditor.jsx index 3ca0e61e4..245317910 100644 --- a/shared/naturalcrit/codeEditor/codeEditor.jsx +++ b/shared/naturalcrit/codeEditor/codeEditor.jsx @@ -235,6 +235,7 @@ const CodeEditor = createClass({ cm.setCursor(cm.getCursor('from')); } cm.replaceSelection(injectText, 'end'); + cm.focus(); }, makeUnderline : function() {