1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Change RadEditor

Change RadEditor

2 posts, 0 answered
  1. li
    li avatar
    30 posts
    Registered:
    02 Jan 2009
    19 Feb 2010
    Link to this post
    I'm reading the topic "change radeditor(http://www.sitefinity.com/help/developer-manual/change-radeditor.html",
    but I can find the file ~/Sitefinity/Admin/ControlTemplates/Generic_Content/EditorTemplate.ascx.
    On the other hand, I'm trying to change the paragraph style dropdown of RadEditor, I want it shows only Heading 1 & Heading 2, so I open the file ~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml, locate <paragraphs> and change it as
    <Paragraphs>
           <telerik:EditorParagraph Title="Heading 1" Tag="<H1>" />
           
    <telerik:EditorParagraph Title="Heading 2" Tag="<H2>" />
       </Paragraphs>
    but I got a error message,
    Am I miss something? is there any topic for this situation?
    Thanks,
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    21 Feb 2010
    Link to this post
    Hello li,

    The post refers to the old backend architecture. Please take a look at How to map a template in Sitefinity 3.6 or later.

    Try using the following lines to declare the paragraphs in EditortoolsFile.xml

    <paragraphs>
           <paragraph name="<H1>Heading 1</H1>" value="<H1>" />
           <paragraph name="<H2>Heading 2</H2>" value="<H2>" />
      </paragraphs>


    Greetings,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
2 posts, 0 answered