javascript - How can I listen for the drag/drop event in CKeditor? -


I am creating an application for which the user needs to drag and drop the html element on CkDitor instance. I need to listen to the drop event, so I can take action to remove the element that was deleted on the editor. I think there is a 'paste' event, but it is not triggered by the drop.

Here is my simple test using the CKeditor jquery adapter:

  // Set up example $ ('# Editor1'). Ckeditor (); Var Editor = $ ('# Editor1') CkeditorGet (); // This is a list of all the events that you can listen to for console.log (editor._information); // Here's how you listen to an event editor. ("Some avent", function (e) {console.log (e);});  

I can not find anything in the document to highlight it.

Any thoughts?

see


Comments