SharePoint 2010: Additional line breaks when you hit enter while formatting with Rich-text editor

Article ID: 2662794 - View products that this article applies to.
Expand all | Collapse all

Symptom

Consider the following scenario:

You are using the built-in Rich Text Editor (RTE) to edit content on a SharePoint site.
After you type a single line and hit enter, it adds an additional line space.
If you copy multiple lines of text from another text editor like Notepad and paste, it looks good but when you hit enter in RTE, it adds an additional line space. This leads to an inconsistent user experience.

Cause

This is expected behavior at the time of creation of this article. By default, the Rich Text Editor formats paragraphs such as indenting and configuring the text alignment using in-line styles which might lead to inconsistent user experience.

When you type any text and hit enter in RTE, it adds the paragraph tag <p> … </p>.
When you type any text and hit enter in Notepad, it only adds a <br/>' tag.

Resolution

In the SharePoint RTE, use 'SHIFT+ENTER' to add a single line break.

More Information

SharePoint RTE behaves the same way that most HTML editors do.  ENTER will add a new paragraph (with an additional space).
When you hit enter in RTE, it adds the paragraph tag <p> … </p>…, which will show as a free line space.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2662794 - Last Review: March 6, 2012 - Revision: 5.0
APPLIES TO
  • Microsoft SharePoint Server 2010
Keywords: 
KB2662794

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com