diff --git a/bootstrap-wysiwyg.js b/bootstrap-wysiwyg.js index e334b69..5dc9ff4 100644 --- a/bootstrap-wysiwyg.js +++ b/bootstrap-wysiwyg.js @@ -85,6 +85,7 @@ if (/^image\//.test(fileInfo.type)) { $.when(readFileIntoDataUrl(fileInfo)).done(function (dataUrl) { execCommand('insertimage', dataUrl); + editor.trigger('image-inserted'); }).fail(function (e) { options.fileUploadError("file-reader", e); });