From: Benoît Pin Date: Wed, 9 Apr 2014 18:47:56 +0000 (+0200) Subject: bugfix, cosmétique. X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/commitdiff_plain/015e0dd96227ff485466c52dfa6c3d8ee541cf54?hp=986f89f41b59148d3c93580b9bef695482914d66 bugfix, cosmétique. --- diff --git a/skins/ckeditor/plugins/plinn_image/plugin.js b/skins/ckeditor/plugins/plinn_image/plugin.js index 13ce7f7..c7ae5ec 100644 --- a/skins/ckeditor/plugins/plinn_image/plugin.js +++ b/skins/ckeditor/plugins/plinn_image/plugin.js @@ -46,7 +46,8 @@ PlinnCKDDUploader.prototype.createFileProxy = function(file) { var container = new CKEDITOR.dom.element('span'); var rel = CKEDITOR.dom.element.createFromHtml(''); container.append(rel); - var progressBar = CKEDITOR.dom.element.createFromHtml('') + var progressBar = CKEDITOR.dom.element.createFromHtml( + ''); rel.append(progressBar); var link = new CKEDITOR.dom.element('a'); link.setAttribute('href', '#'); @@ -72,6 +73,7 @@ PlinnCKDDUploader.prototype.handleFiles = function(files) { else { proxy = this.createFileProxy(file); this.editor.insertElement(proxy.container); + this.editor.insertText(' '); this.uploadQueuePush(proxy); } }