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 ...Customizing RAD EditorCustomizing RAD Editor
Previous
 
Next
New Post
8/27/2010 6:38 AM
 
Hello,
I'm trying to personalize styles, classes and fonts used by the new editor provider, starting from this post.  I actually could personalize the list of paragraph styles and fonts, but cannot completely fix the list of CSS styles: my dropdown apparently duplicates listed items, so that I have three times the same classes.

What I did was modifying my ToolsDefault.xml, adding fontNames, paragraphs and classes nodes like this:

<fontNames>
<item name="Trebuchet MS" />
<item name="Arial" />
<item name="Helvetica" />
</fontNames>
 
<paragraphs>
<paragraph name="&lt;h1&gt;Heading 1&lt;/h1&gt;" value="&lt;H1&gt;" />
<paragraph name="&lt;h2&gt;Heading 2&lt;/h1&gt;" value="&lt;H2&gt;" />
<paragraph name="&lt;h3&gt;Heading 3&lt;/h1&gt;" value="&lt;H3&gt;" />
<paragraph name="Normal" value="p" />
</paragraphs>
   
<classes>
<class name="Clear Class" value="" />
<class name="Head" value=".Head" />
<class name="SubHead" value=".SubHead" />
<class name="SubSubHead" value=".SubSubHead" />
<class name="Normal" value=".Normal" />
<class name="NormalBold" value=".NormalBold" />
<class name="NormalRed" value=".NormalRed" />
</classes>

While the "paragraph styles" and "fonts" dropdown now only show me the items listed here, my "apply css class" dropdown duplicates all items in list.
First series is shown with applied style (e.g. the "Head" class is displayed using the Head class, in the dropdown), but then I have another two times all classes where names don't get their class applied, and finally one more series with applied styles.

Adding a property named "CssClasses" to my ConfigDefault.xml apparently does not produce any changes.
Same problem with DNN version 5.5.0  and 5.4.4. (Telerik Editor Provider is version 5.4.2 on both).
Can anybody help?



 
New Post
8/27/2010 7:53 AM
 

I had a similar issues before, only to realize that whatever class you're calling on needs to have an instance in your skin.css file.

If, like me, you separate your css files and use @import, you'll need to have the class instance in skin.css and override from your @import. Also, each class cannot have a tag prefix, like:

p.my-class

This won't work.

Your skin.css instance of a class must be:

.my-class

Hope this helps.
Jon


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
New Post
8/27/2010 8:51 AM
 
you may also want to check out this new RadEditor provider: http://radeditor.codeplex.com/

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/27/2010 8:51 AM
 
you may also want to check out this new RadEditor provider: http://radeditor.codeplex.com/

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/27/2010 10:23 AM
 
Jon,
thank you, I'll better check this. I should have all classes in skin.css, since I can see them in editor, but that duplication maybe depends on something not "clean" in my css.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Customizing RAD EditorCustomizing RAD Editor


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