开发者

Prevent CTRL V in HTML Editor Ajax Control MS

Hello I am using in C# HTML EDITOR Control MS Ajax.

I would like to know if is possible FORCE the control HTML EDITOR to DO NOT ACCEPT text from PASTE (short cut ctrl+v or menu command).

My aim is to prevent css inline code to be added to the text.

I would allow user to add text if pasted just with HTML开发者_Python百科 EDITOR Button PASTE PLAIN TEXT.

Any ideas? Do you think it is a good solution or any others= thansk


Trap the keypress event and check for CTRL+V.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜