In the new RadEditor for ASP.NET AJAX we have introduced the OnClientPasteHtml
event, which is useful in scenarios where the developers need to examine or modify the HTML to be pasted by an editor tool before it is inserted in the editor content area. So, you can use the OnClientPasteHtml
event to achieve the desired behavior. Also, note that with the RadEditor for ASP.NET
Q2 "Futures" release, we introduced the ability to load all the editor dialogs [.ascx-es] from an external folder, rather than from the DLL. Thus, is possible for developers to easily make changes and restrictions to the dialogs and their functionality. We believe this would be the easiest way to handle such requirements, as introducing new properties for each possible feature would make the editor configuration more difficult.
I can see that you are using the RadEditor for ASP.NET. What we suggest is to open the desired dialog situated in the Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/18.104.22.168__1f131a624888eeed/RadControls/Editor/Dialogs
folder and modify it so that to best fit your scenario.
In addition, please review the following KB article:
I hope this helps.
the Telerik team