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

Forums / Bugs & Issues / NewLineBr true not working

NewLineBr true not working

3 posts, 0 answered
  1. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    08 Nov 2007
    Link to this post
    Hmmm....this may be a browser issue. I have taken a look at the Telerik forums and most people seem to be having the opposite problem. However, I have modified the Sitefinity/Admin/ControlTemplates/EditorConfigFile.xml to have the property: 

    <property name="NewLineBr">true</property>

    However, when I edit a page and hit "return" I still get a <P>s instead of <br>.

    Sincerely,

    Ben

     

  2. Pepi
    Pepi avatar
    981 posts
    Registered:
    08 Dec 2016
    09 Nov 2007
    Link to this post
    Hello Ben,

    By default NewLineBr is set to true. Here is an article that gives details about the use this property in RadEditor. Also, I would suggest you make a search for "NewLineBr" string in the whole project as in some templates NewLineBr property of the editor is set to false and in fact overrides the value in the config file. For example, ~/Sitefinity/Admin/ControlTemplates/Generic_Content/EditorTemplate.ascx is such a template.

    Hope this is helpful.

    All the best,
    Pepi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. bnye
    bnye avatar
    332 posts
    Registered:
    22 Sep 2005
    09 Nov 2007
    Link to this post
    That was exactly it. The inline NewLineBr. Both are compliant as long as the "br" ends with "/>"?

    Thanks,

    Ben
Register for webinar
3 posts, 0 answered