mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Focus codemirror after using the markdown toolbar
This commit is contained in:
parent
e72270d4a4
commit
203c5d64c1
@ -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…
Reference in New Issue
Block a user