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

RadEditor : Hyperlink Manager : CSS Class Dropdown Includes Classes From Page

1 Answer 188 Views
Editor
This is a migrated thread and some comments may be shown as answers.
carlpro
Top achievements
Rank 1
carlpro asked on 20 Feb 2008, 02:40 AM
Is there anyway to control what gets populated in the Hyperlink Manager's CSS Class dropdown list? 

I've noticed that it picks up ALL of the CSS used on the web page, as opposed to the CSS found in "ContentAreaCssFile". 

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 20 Feb 2008, 07:45 AM
Hi Carl,

You could easily specify just the css files you want loaded in the editor by using its CssFiles property - this is how the editor will not pick up the styles from the parent page:

<telerik:RadEditor id="RadEditor1" runat="server">
   
<CssFiles>
       
<telerik:EditorCssFile Value="~/ExternalCssFile1.css" />
   
</CssFiles>
</telerik:radeditor>

 The following online demo shows how to use the CssFiles property - Setting Content Area Defaults and External CSS Files.



Best regards,
Rumen
the Telerik team

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