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.
精彩评论