projects
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Saut de ligne entre chaque élément lors d'un upload multiple (plutôt qu'une espace).
[ckeditor.git]
/
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
(file)
--- 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);
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);
}
};
this.uploadQueuePush(proxy);
}
};