javascript - Which event get triggers on image drag and drop using Tinymce . -
i have images large images want drag , drop tinymce editor. screen size allow image 600 - 800 pixels . image when droped in editor expands full screen don't want .
my requirement : want resize image according dimension of 600 800 pixels when dropped in editor . there way achieve particular thing ?
also , possible edit uploadimages function callback ?
i not know uploadimages function callback.
you have add own handlers tinymce body react on drop. should work:
var editor = tinymce.get('your_editor_id'); $(ed.getbody()).bind('dragend', function(e){ /* magic here */});
Comments
Post a Comment