More in this section

Forums / Developing with Sitefinity / Change RadEditor

Change RadEditor

2 posts, 0 answered
  1. li
    li avatar
    30 posts
    02 Jan 2009
    19 Feb 2010
    Link to this post
    I'm reading the topic "change radeditor(",
    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
           <telerik:EditorParagraph Title="Heading 1" Tag="<H1>" />
    <telerik:EditorParagraph Title="Heading 2" Tag="<H2>" />
    but I got a error message,
    Am I miss something? is there any topic for this situation?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    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

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

    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