jquery prevent paste to iframe designmode from msword

Posted by naugtur on Stack Overflow See other posts from Stack Overflow or by naugtur
Published on 2010-03-28T14:11:16Z Indexed on 2010/03/28 14:13 UTC
Read the original article Hit count: 784

Filed under:
|
|
|

Hi.

I've seen some questions on catching paste event. This looks helpful. But I want to prevent paste from happening when the pasted content is not plaintext, but comes from msword or other wysiwyg editor.

Anybody got any experience on that? I suppose I should catch the event and look for some specific tags in the clipboard. Any known content that msie adds everytime?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about prevent