mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-11 00:22:43 +00:00
Focus on editor after snippet
This commit is contained in:
@@ -235,6 +235,7 @@ const CodeEditor = createClass({
|
|||||||
cm.setCursor(cm.getCursor('from'));
|
cm.setCursor(cm.getCursor('from'));
|
||||||
}
|
}
|
||||||
cm.replaceSelection(injectText, 'end');
|
cm.replaceSelection(injectText, 'end');
|
||||||
|
cm.focus();
|
||||||
},
|
},
|
||||||
|
|
||||||
makeUnderline : function() {
|
makeUnderline : function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user