Saut de ligne entre chaque élément lors d'un upload multiple (plutôt qu'une espace).
authorBenoît Pin <benoit.pin@gmail.com>
Thu, 10 Apr 2014 09:04:23 +0000 (11:04 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Thu, 10 Apr 2014 09:04:23 +0000 (11:04 +0200)
skins/ckeditor/plugins/plinn_image/plugin.js

index 046b7ad..695d114 100644 (file)
@@ -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);
        }
 };