Symptom

When you use the built-in Rich Text Editor (RTE) to edit content on a SharePoint site, an additional line space is added when pressing the ENTER key. This issue does not occur when you copy and paste multiple lines from a text editor.   

Cause

This is expected behavior. By default, the RTE formats paragraph indents and text alignment by using in-line styles. The styles are not consistent among text editors.

For instance:

  • When you type any text and press ENTER in RTE, it adds the paragraph tag <p> … </p>.

  • When you type any text and press ENTER in Notepad, it 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 many HTML editors do. The ENTER key will add a new paragraph (with an additional space).

When you press ENTER in RTE, it adds the paragraph tag <p> … </p>…, which will show as a free line space.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.