How to remove additional line spaces when you hit enter in Rich text field in SharePoint

Line spacing options in SharePoint multi-line text columns (rich text)

Applies To: SharePoint Online and SharePoint OnPremises

Issue: If you are typing in a rich text field in SharePoint form, when we hit enter, it adds an additional line space. If we copy multiple lines of text from a text editor like notepad, it looks good but when we hit enter in rich text field, it adds an additional line space.

Cause: This is expected behavior at the time in SharePoint. By default, the rich text editor formats the paragraphs such as indenting and configuring the text alignment using in-line styles which might lead to inconsitent user experience.

When we type any text and hit enter in rich text field, it adds the paragraph tag <p>…</p>
When we type any text and hit enter in Notepad, it only adds a </br> tag

SharePoint Rich Text field behaves the same way that most HTML editors do. ENTER will add a new paragraph (with additonal space)

Resolution: In the SharePoint rich text fields, use "SHIFT+ENTER" to add a single line break

Leave a Reply