Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Rich Text Editor adds extra paragraph tags

SA-14041

Summary



When saving text in a rich text editor control, extra paragraph tags are added which causes unexpected line breaks to be rendered.


Error Messages



Not applicable.


Steps to Reproduce



Use Rich Text Editor control in a section and place some text and hit carriage return between two paragraphs (two lines) to add a new line with some text .


Root Cause



The functionality is working as expected.

Resolution



Here’s the explanation for the reported behavior:

The default behavior for the out of the box Rich Text Editor (RTE) is to insert paragraph tags (<p> and </p>) every time a new line is entered.
This behavior can be overridden in the cell properties for the RTE by checking the option for "Use Line-break for new line..." option:


This will cause the use of <br /> tags instead.

Published September 11, 2015 - Updated October 8, 2020

Was this useful?

66% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us