I have a contentEditable element that should accept drag'n drop actions but I'd like to modify what is being dropped (or pasted) because some HTML tags should be tolerated while others shouldn't.
But how do I access just what has been copied instead of the whole element? When I listen to events on the editable element, then the whole editable element is the context (obviously)...? and the event itself does not seem to contain what is being copied (and is different between FF and Webkit).
Any idea?