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

Problems with custom CSS classes

2 Answers 54 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Lautaro
Top achievements
Rank 1
Lautaro asked on 09 Sep 2010, 03:44 PM
Ive followed the guide for adding custom CSS classes to the editor. They appear and style the text in the editor, but not in the front end. What is missing? 
Do i need to link to the custom CSS class on every page where content that has been edited with the rad editor is used?

2 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 13 Sep 2010, 06:52 PM
Hi Lautaro,

Yes, you need to link the CSS file containing the declarations of the used CSS classes in every page where the edited content is displayed.

I will explain in more details how CssClasses property and ApplyClass tool are working. By default, the CssClasses collection contains the classes from the CSS files loaded inside RadEditor's content area. By modifying this collection you can filter the displayed classes. When the ApplyClass tool is used, RadEditor adds the Class attribute with the name of the class. In order to apply the decorations of the applied class its declaration has to available on the page.

Greetings,
Dobromir
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Lautaro
Top achievements
Rank 1
answered on 13 Sep 2010, 07:27 PM
Thanks! Then i know.
Tags
Editor
Asked by
Lautaro
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Lautaro
Top achievements
Rank 1
Share this question
or