X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/35d32f35f43e33f068b39a4c7daf9eb16773cbe7..7e9dcb2247c2adc0e753253e635d4aaf08a2b599:/skins/ckeditor/plugins/plinn_image/plugin.js diff --git a/skins/ckeditor/plugins/plinn_image/plugin.js b/skins/ckeditor/plugins/plinn_image/plugin.js index 046b7ad..695d114 100644 --- a/skins/ckeditor/plugins/plinn_image/plugin.js +++ b/skins/ckeditor/plugins/plinn_image/plugin.js @@ -121,7 +121,8 @@ PlinnCKDDUploader.prototype.handleFiles = function(files) { proxy = this.createLinkProxy(file); } this.editor.insertElement(proxy.container); - this.editor.insertText(' '); + if (files.length > 1 && i < files.length-1) { + this.editor.insertText('\n'); } this.uploadQueuePush(proxy); } };