Try Now
More in this section

Forums / Developing with Sitefinity / Text Editor - add extra formatting options

Text Editor - add extra formatting options

2 posts, 0 answered
  1. Neil
    Neil avatar
    26 posts
    03 Aug 2011
    18 Feb 2015
    Link to this post

    I want to be able to add in some additional formatting options into the Text Editor, specifically the FormatBlock dropdown list, as in the attached image.  So for example, I want to add a div element to this list.

    I know that you can edit the default tool set in Admin > Settings > Text Editor, but I'm not sure how I go about doing what I want.

  2. Nikola Zagorchev
    Nikola Zagorchev avatar
    424 posts
    25 Oct 2016
    23 Feb 2015
    Link to this post
    Hello Neil,

    This dropdown shows the paragraph styles. You can define them from the text editor configuration files the following way:
           <paragraph name="<H1>Heading 1</H1>" value="<H1>"/>
           <paragraph name="<H2 style='font-family: Trebuchet MS;'>Heading 2</H2>" value="<H2 style='font-family: Trebuchet MS;'>"/>
           <paragraph name="<H3 class='serif'>Heading 3</H3>" value="<H3 class='serif'>"/>

    We have provided further information in the support ticket. Feel free t share it with the community.

    Nikola Zagorchev
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered