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

Forums / Bugs & Issues / News Generic Content Module & Paragraph Tags

News Generic Content Module & Paragraph Tags

2 posts, 0 answered
  1. WebGeek
    WebGeek avatar
    186 posts
    Registered:
    20 Dec 2006
    07 Mar 2008
    Link to this post
    The Generic Content module for the News Module is no longer inserting the paragraph tag (p) automatically.  This was working in 3.1.
  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    10 Mar 2008
    Link to this post
    Hello James,

    You can use the Insert New Paragraph button of the editor to insert <p> tags. This button can be configured from the ~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml file:

    ... 
    <tools enabled="true"
        <tool name="InsertParagraph" /> 
    ... 

    Another approach is to set the NewLineBr property of the RadEditor control to false as shown below:

    <telerik:RadEditor  
             ID="contentEditor"  
             runat="server"  
             NewLineBr="false" 
    ... 

    To achieve this for the News module, you should modify the following templates:
    1. ~/Sitefinity/Admin/ControlTemplates/News/ControlPanelEdit.ascx
    2. ~/Sitefinity/Admin/ControlTemplates/News/ControlPanelInsert.ascx

    Let us know if you need any further assistance.

    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered