From 226ff3ce70017493fbd8b2320e78f6af6a8b6e56 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 16 May 2018 19:42:40 +0200 Subject: [PATCH] Fix insert image --- bl-plugins/quill/plugin.php | 1 + 1 file changed, 1 insertion(+) 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+'')