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

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -