Any idea how to listen to/hook drop event to the WYSIHTML5 editor?
The thing I want is... I have wysihtml5 and under it images uploaded by the user(as seen in the attachment), when I drag and drop one of the imags to the wysihtml5, it inserts it(which I suppose is just a default feature of the browser, just as when you drag any link to any textarea/text input), but with the same src as the source image was, and that's the thumbnail resolution, and I'd rather want something bigger. So I thought I'd hook up a drop event and get the image source from, say, data-big-src attribute of the thumbnail.
I tried
editor.on("drop", function() {
console.log("fsdf");
});
where editor was instance of wysihtml5, tried to add listener to the original textarea as well, none of it worked/fired, any tips?
// edit paste / paste:composer
is probably what I'm looking for, but it doesn't return the dropped object....