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

[Solved] CssFiles

3 Answers 172 Views
Editor
This is a migrated thread and some comments may be shown as answers.
arich
Top achievements
Rank 1
arich asked on 29 Nov 2007, 03:57 PM
I have a specific set of classes that I want to show in the AppClass dropdown for the end users.  With the ASP.NET version I would just use CssFiles="~/StyleSheet.css" and I would only see those styles.  However, the best example I've found to for the new editor is telerik:EditorCssFile Value="~/StyleSheet.css".  However, when I do this I still get a couple strange styles on the top of the list (Clear Class, RadEWrongWord, RadEDomMouseOver).  Any idea why those 3 are showing up.  Thanks.

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 29 Nov 2007, 04:22 PM
Hi Arich,

Please, set the editor's ContentAreaCssFile property to point to your own css file. Thus the Clear Class, RadEWrongWord, RadEDomMouseOver classes which applies to the content area appearance will be not loaded.

I hope this helps.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
arich
Top achievements
Rank 1
answered on 29 Nov 2007, 04:28 PM
That's what I tried first and that does load in my stylesheet but it also loads in other style sheets that are in my project folder that it must have discovered on it's own.  When I set both (CSSFiles and ContentAreaCSSFile) to the same style sheet, the only extra style I have is the Clear Class.  Maybe that one can't be removed.  Thanks.
0
Rumen
Telerik team
answered on 29 Nov 2007, 04:43 PM

The Clear Class item is not a CSS style but a command, which helps the users to remove the applied css class from the selected content.

At present RadEditor does not offer a way to remove this item from the dropdown.


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
arich
Top achievements
Rank 1
Answers by
Rumen
Telerik team
arich
Top achievements
Rank 1
Share this question
or