Merge branch 'mediatagplugin' into staging

This commit is contained in:
yflory committed 2018-04-27 17:57:22 +02:00
commit d0c6746034
4 files changed
+137 -45

No files matched your search

+2
View File
@@ -333,6 +333,8 @@ define([
var editor = config.ckeditor;
editor.document.on('drop', function (ev) {
var dropped = ev.data.$.dataTransfer.files;
editor.document.focus();
if (!dropped || !dropped.length) { return; }
onFileDrop(dropped, ev);
ev.data.preventDefault(true);
});