What event is fired when one drops something in a contentEditable element (after dragging)?
I'm talking about plain old drag and drop, NOT HTML5 drag and drop (where any element can be made draggable); the use case is simply:
- there's a contentEditable div on the page, used as an editor
- the user drags and drops some HTML from the current page or from another page, or from another browser's window (so there really isn't any concept of "source" object: the source can come from outside the browser)
- I need to be notified that the content has been dropped into the contentEditable div so that I can act on it (clean it)
I could poll the div to see if anything's there that's not clean, but it's expensive and "ugly"; surely there's an event that fires when a drop occurs...?