I find that some colleagues drag images by mistake into the trumbowyg textarea with paste image pluging and then do not check if an image has been inserted or if it is the correct one.
Is it possible to set an alert after dragging an image? I want my colleagues to read in the alert something like this: "An image has been inserted, did you want to insert an image, is it the image you want to insert?"
Sad but true. Thanks!
I've tried with the detect paste event:
<script>
$('#editor').trumbowyg().on('tbwpaste', function () { console.log('pasted'); });
</script>
but it only detects if text is pasted, not an image