Paragraph Formatting issue in IE7

2 posts, 0 answers
  1. Jared
    Jared avatar
    3 posts
    Member since:
    Oct 2007

    Posted 25 Apr 2008 Link to this post

    My problem is a simple one.  When using RadEditor and editing a wiki page I came across a problem when I would on accident or intentionally combine 2 paragraphs into 1 and then seperate them again using the enter key the formatting would get messed up.  So, let's say I accidentally backspaced one indented paragraph into the paragraph above it when I hit enter to seperate the 2 paragraphs and try to indent the paragraph further or unindent it, the editor treates these 2 seperate paragraphs as one and indents or unindents both.  Looking at the html the tags appear to become <br /> instead of <p> tags.  I saw in one of the forum posts I found while searching here that this is an issue only with IE7.  I am curious if there is some fix for this behavior since IE7 is what is most widely used when our users are making changes to the wiki.



    -Jared
  2. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 28 Apr 2008 Link to this post

    Hello Jared,

    I think your problem will be fixed when you set the NewLineBr property to false in the editor's configuration file (in the case of Wikis this is ListConfigFile.xml). Here is a link with more information about the property: http://www.telerik.com/help/aspnet/editor/UsingTheNewLineBrProperty.html

    Basically, when you set it to false, the editor will insert new paragraphs (<p>) each time you press the Enter key. If you want to insert just a break (<br/>), you will need to press Shift+Enter.

    Greetings,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

Back to Top