0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 20:42:43 +00:00

Focus on editor after snippet

This commit is contained in:
Trevor Buckner
2022-10-18 13:52:22 -04:00
parent de86a77dfc
commit 3327712253

View File

@@ -235,6 +235,7 @@ const CodeEditor = createClass({
cm.setCursor(cm.getCursor('from'));
}
cm.replaceSelection(injectText, 'end');
cm.focus();
},
makeUnderline : function() {