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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCustom style for bullet lists?Custom style for bullet lists?
Previous
 
Next
New Post
4/2/2008 2:54 PM
 

I know how to do custom styles for the editor, but can't get them to appear in the styles dropdown list when trying to use custom bullet list styles like the following:

<Style name="Bullet List" element="li">
     <Attribute name="class" value="TextHangingIndentList" />
  </Style>
  <Style name="Bullet List" element="ul">
     <Attribute name="class" value="TextHangingIndentList" />
  </Style>

Can anybody shed some light? I want to be able to apply these custom styles to a bullet list within the editor.


Eric Swanzey
www.swanzey.com
 
New Post
4/10/2008 10:36 PM
 

60 views and no clues? Could anyone verify that they at least were able to successfully do this and I'll keep hammering away.


Eric Swanzey
www.swanzey.com
 
New Post
4/24/2010 8:06 AM
 
Ok I got the same problem, and this is how I solve it. One note, my solution is kind of hack but anyway it works fine for me. Under editor/diolog/ find out this fck_listprop.html file - and add a new line for your custom style, like this : Then go to the function Ok() , and change this line : SetAttribute( oActiveEl, 'type' , oActiveSel.value ) ; to something like this: if(oActiveSel.value == 'MyCustomStyle') SetAttribute( oActiveEl, 'class', oActiveSel.value ) ; else SetAttribute( oActiveEl, 'type' , oActiveSel.value ) ; That's it!
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorCustom style for bullet lists?Custom style for bullet lists?


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