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

RadEditor not customizing css styles in drop down

1 Answer 96 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Bill asked on 31 May 2010, 09:00 PM
Hi, I'm having problems customizing the css styles drop down of a radeditor for dnn.

in the ConfigFile.xml I have
  <property name="CssFiles">/Portals/_default/Skins/MySite/skin.css</property>
  <property name="CssFiles">/Portals/_default/Skins/MySite/index.css</property>
  <property name="CssFiles">/Portals/_default/Skins/default.css</property>
  <property name="CssFiles">/Portals/_default/Skins/portal.css</property>
  <property name="CssClasses">Normal, Strong, Large</property>
and in the ToolsFile.xml I have

  <class name="Clear Class" value="" />
  <class name="Links Class" value="" />
  <class name="Images Class" value=".img" />
  <class name="My Red Text" value=".redText" />

in addition, I also have this in the web.config

 <add name="RadEditorProvider" type="Telerik.DNN.Providers.RadEditorProvider" CssFiles="~/Portals/_default/Skins/MySite/skin.css, ~/Portals/_default/Skins/MySite/index.css, ~/Portals/_default/Skins/default.css/, ~/Portals/_default/Skins/portal.css" providerPath="~/DesktopModules/TelerikWebUI" AutoCreatePaths="true" FilterHostExtensions="True" CssClasses="Bright, BlueSky"/>

but nothing seems to be loading correctly.

My goal is to have css styles loaded only if they exist inside the radeditor. Can somebody help me accomplish this. I'm using DNN 5.01.04.


1 Answer, 1 is accepted

Sort by
Telerik team
answered on 02 Jun 2010, 03:03 PM
Hi Bill,

If you want to list more that one css file in the CssFiles property do the following:

   <item name="~/DesktopModules/TelerikWebUI/RadEditorProvider/file1.css" />      
   <item name="~/DesktopModules/TelerikWebUI/RadEditorProvider/file2.css" />
   <item name="~/DesktopModules/TelerikWebUI/RadEditorProvider/file3.css" /> 

All the best,
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.
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question