Since you are using 5.3.2 version of RadEditor for MOSS there is no need to overwrite the "Insert Table
" command. What you can do is attach to the OnClientPasteHtml
event. You can find example of the functionality in the following online demo of the RadEditor http://demos.telerik.com/aspnet-ajax/editor/examples/onclientpastehtml/defaultcs.aspx
. There is additional information for the event in the following help article http://www.telerik.com/help/aspnet-ajax/onclientpastehtml.html
What you should know is that since you are using RadEditor for MOSS, in order to attach to the OnClientPasetHtml event you need to follow these steps.
1. Modify the respective ConfigFile.xml or ListConfigFile.xml (for forms scenarios such as list, wiki, blog...), which are located in the Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\220.127.116.11__1f131a624888eeed\Resources folder.
For example add the following line.
|function OnClientPasteHtml(sender, args)
| //here you can get reference to the table and add the <thead> element
I hope this helps.
the Telerik team
, the state of the art learning tool for Telerik products.