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
answered on 13 Sep 2010, 06:52 PM
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.
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items