More in this section
Forums / Developing with Sitefinity / P-tag now working with html editor

P-tag now working with html editor

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Jepoy
    Jepoy avatar
    7 posts
    01 Apr 2011
    28 Apr 2011
    Link to this post
    I am reposting this seems like the thread i replied to is a kind of old and nobody would want to answer.
    I really2x need help and i am a kind of delay with the timeframe.. i wanna know if this is an issue or is there any workaround? please....

    my objective is to wrap the phrase "the quick brown fox" with p tag from html editor
    so after i have applied paragraph tag it would look something like in the html tab of the editor "<p>the quick brown fox</p>"

    Problem: using telerik radeditor (html editor) after i click the dropdown paragraph which value was defined as  radEditor.Paragraphs.Add("Paragraph", "<p>"); in the .cs file. when i view the html tab the phrase is not wrap by p-tags.

    FYI. I am getting same problem even with the telerik html editor demo or sample apps.
    I don't know if do i need to add something or what should i do to make this work?

    i don't know if i will get reply from this because before when i post something i am not getting any response. and i don't know what are the requirements (sine im new here) to make my post be a valid post.

  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    01 Feb 2016
    05 May 2011
    Link to this post
    Hello Jepoy,

    The editor tool in Sitefinity (RadEditor) has 2 different modes of handling new lines - ending them with <br/> or wrapping paragraphs with <p> tags. In order to set the editor to automatically wrap paragraphs with <p> tags you will have to map the control templates which use the control and set the property NewLineBr to false.

    Best wishes,
    Radoslav Georgiev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered