Drag'n'Drop and Paste detection with contentEditable or designMode enabled

Posted by Fionn on Stack Overflow See other posts from Stack Overflow or by Fionn
Published on 2010-02-14T01:31:10Z Indexed on 2010/04/27 14:03 UTC
Read the original article Hit count: 261

Filed under:
|
|

Does anyone of you know a cross browser working way to detect paste or drag'n'drop inserts into an editable html document (with designMode or contentEditable enabled).

Detecting paste works as long as the user uses the Ctrl-V shortcut as it generated key events, but if you use the browsers Edit->Paste no events are generated it seems.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about events