Focus codemirror after using the markdown toolbar

pull/1/head
yflory 7 years ago committed by ansuz
parent 4c9078aba1
commit 8e2fbd073f

@ -352,6 +352,7 @@ define([
return actions[type].expr.replace('{0}', str);
});
editor.replaceSelections(newTexts, 'around');
editor.focus();
};
for (var k in actions) {
$('<button>', {

Loading…
Cancel
Save