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

Get Rid of table-1, table- TR.ms-rte...

3 Answers 75 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 31 Oct 2007, 01:27 PM
I just installed Lite.  It appears the 'default' styles from the moss html editor is being included in the 'Apply CSS Class' style.  How can I remove them from the drop down?

Thanks! 

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 31 Oct 2007, 01:57 PM
Hi Bob,

The easies way to reset the styles in the Apply Css Class dropdown is to open the \Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls\Editor\ConfigFile.xml file

and set the CssFiles property to point to an external css file containing your own css classes, e.g.

  <property name="CssFiles">
    <item>~/test.css</item>
  </property>

Save the ConfigFile.xml and test the editor.

Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Asha
Top achievements
Rank 1
answered on 02 Apr 2009, 09:39 PM
But this solution removes all the classes. Where should my test.css should be lying in that case?
0
Stanimir
Telerik team
answered on 06 Apr 2009, 10:34 AM
Hi Asha,

In the following help article you can find information on defining custom CSS styles in RadEditor for MOSS  http://www.telerik.com/help/aspnet-ajax/defining-custom-css-styles.html.

You might find interesting this article as well http://www.telerik.com/help/aspnet-ajax/css_styles.html. Here you can find information on modifying the CSS Styles DropDown of the RadEditor.

I hope this helps.


Kind regards,
Stanimir
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
WebParts for SharePoint
Asked by
Bob
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Asha
Top achievements
Rank 1
Stanimir
Telerik team
Share this question
or