This is a migrated thread and some comments may be shown as answers.

[Solved] Table Options

1 Answer 81 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Cecilia Hagglund
Top achievements
Rank 1
Cecilia Hagglund asked on 16 Sep 2009, 10:45 PM
Hi,

I wonder if the following can be done for the table function in the editor.

1. Set  <table cellspacing=”0” cellpadding=”0” border=”0”> to be default.
2. Could CSS and Back Image options be turned off for the table wizard?

Kind Regards
Cecilia

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 18 Sep 2009, 11:36 AM
Hi Cecilia,

Both of your requirements can be accommodated.
To provide additional settings (or to override what the user chose) before a table in inserted, you could use the OnClientPasteHtml event. Please examine the following demo for more information:
http://demos.telerik.com/aspnet-ajax/editor/examples/onclientpastehtml/defaultcs.aspx

To modify a built-in editor dialog, you should load it as external dialog by using the ExternalDialogsPath property, as shown here:
http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx

What you could do is add style="display:none" to a parent element of the tools you wish to hide from your users.


All the best,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Editor
Asked by
Cecilia Hagglund
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or