Focus codemirror after using the markdown toolbar

This commit is contained in:
yflory authored and ansuz committed 2017-12-07 12:23:40 +01:00
1 parent 4c9078aba1
commit 8e2fbd073f
1 file changed
+1
+1
View File
@@ -352,6 +352,7 @@ define([
return actions[type].expr.replace('{0}', str);
});
editor.replaceSelections(newTexts, 'around');
editor.focus();
};
for (var k in actions) {
$('<button>', {