From 015e0dd96227ff485466c52dfa6c3d8ee541cf54 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Wed, 9 Apr 2014 20:47:56 +0200 Subject: [PATCH 1/1] =?utf8?q?bugfix,=20cosm=C3=A9tique.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- skins/ckeditor/plugins/plinn_image/plugin.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); } } -- 2.20.1