More in this section

Forums / Developing with Sitefinity / Set default bullet list class

Set default bullet list class

2 posts, 0 answered
  1. x x
    x x avatar
    1 posts
    Registered:
    17 May 2004
    21 Jul 2009
    Link to this post
    Hi,

    Is there any way to set default class for Order and Unorder list in radEditor (sitefinity v.3.6) when I click on the Bullet list button.
    <UL class="abc">...</UL>

    Thanks,
    TL
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    21 Jul 2009
    Link to this post
    Hello x x,

    Thank you for using our services.

    You can set the default styles for the content in your RadEditor as you wish. To get more information on how to do this, please take a look at the following articles:
    Setting Content Area Defaults
    RadEditor CSS Classes and Their Use.

    After you have defined the CSS defaults for the content area you will have to edit those controls that use RadEditor. To do this first you will need to download the ExternalTemplates.zip file from your Client.Net account. This will let you define your custom templates for Sitefinity controls. Let's take for example the Generic Content control. After you have donwloaded the external templates you will find the template for the Generic Content control in ~/Sitefinity/Admin/ControlTemplates/Generic_Control/GenericContentDesigner.ascx. If you open this template for editing you will find the tag for the RadEditor and define the path to your content area CSS file, just as described in the first article I gave you. After that you will have to "tell" the Generic Content control to use the edited control template in order the changes to take effect. To do this, please take a look at the following blog post: Mapping a control to use external template.

    We also have a very informative webinar on customizing the RadEditor to fit your needs. I wold suggest that you take a look at the Making the most of RadEditor in Sitefinity as it will show you what you can do with your RadEditor.

    I hope that you will find the provided information helpful. If more problems should arise, please feel free to contact us.

    Sincerely yours,
    Rado
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
2 posts, 0 answered