Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...RadEditor style drop down showing duplicatesRadEditor style drop down showing duplicates
Previous
 
Next
New Post
3/1/2011 4:48 PM
 
I believe I found the cause of the duplicate class names appearing in the Apply CSS Class drop down list of the RadEditor.

I was adding my CSS class definitions to both the /Providers/HtmlEditorProviders/Telerik/EditorOverride.css file and the /Portals/_default/Skins/Skin_Name/skin.css file.  The use of the /Providers/HtmlEditorProviders/Telerik/EditorOverride.css file appeared to be causing the issue.

Thanks to a tip from the video series at dnncreative.com, I learned that I was missing the following property in my /Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml file for the RadEditor.  

[PortalRoot]/Name_of_Editor_CSS_File.css

Once I did the following list of items, everything worked perfectly:

  • Added the above property to the /Providers/HtmlEditorProviders/Telerik/Config/ConfigDefault.xml file
  • Cleared out the CSS class definitions from the /Providers/HtmlEditorProviders/Telerik/EditorOverride.css
  • Added the CSS class definitions to the [PortalRoot]Name_of_Editor_CSS_File.css file 

I hope this helps others avoid the same issues I was experiencing while using custom classes in the RadEditor.
 
New Post
3/1/2011 5:59 PM
 
This is one of the reasons why I like the dnnwerk provider - there is no need to go editing anything in the core to get this functionality.

Westa
 
New Post
3/9/2011 12:23 AM
 
I am not sure what I was doing wrong with the Telerik RadEditor, I followed the tutorials from dnncreative.com, but my Apply CSS Class drop down list remained empty.

I also tried the dnnwerk provider, but in that case I had the opposite result: the Apply CSS Class showed a very huge list, and I would like only a few to use there. It seems that dnnwerk provider collects all my defaults styles from everywhere (portal, skin, containers etc)
 
New Post
3/9/2011 7:41 AM
 
if you are using the dnnwerk provider - create a file called editor.css and place it in your skin.
put all the styles that you require to render the look of your text elements in this file.

then in the dnnwerk radconfig - set the css file to /editor.css -  this will tell dnn to ONLY use this file to render the edit area - and include in the styles dropdown.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...RadEditor style drop down showing duplicatesRadEditor style drop down showing duplicates


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out