This is a migrated thread and some comments may be shown as answers.

Paragraph Formatting issue in IE7

1 Answer 42 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Jared
Top achievements
Rank 1
Jared asked on 25 Apr 2008, 05:05 PM
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

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 28 Apr 2008, 03:47 PM
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
Tags
WebParts for SharePoint
Asked by
Jared
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or