diff --git a/bl-plugins/quill/plugin.php b/bl-plugins/quill/plugin.php index dac467fe..c9397010 100644 --- a/bl-plugins/quill/plugin.php +++ b/bl-plugins/quill/plugin.php @@ -36,6 +36,7 @@ var quill; // Function required for Media Manager to insert a file on the editor function editorInsertMedia(filename) { var Delta = Quill.import("delta"); + quill.focus(); quill.updateContents(new Delta() .retain(quill.getSelection().index) .insert(''+filename+'')