Support Article
Rich text editor is adding spaces between lines on refresh
SA-57760
Summary
On refreshing a section, spaces display between lines of text in the Rich Text Editor (RTE).
RTE before refresh
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/RTE before refresh1526546615794.png)
RTE after refresh
![](https://gcsprdsa.lab.pega.com/articles/datacontent/Image/rteImages/RTE after refresh1526546683927.png)
Error Messages
Not Applicable
Steps to Reproduce
- Configure a Rich Text editor in a section.
- Configure a button with an Refresh Section action event on click.
Root Cause
In Document Object Model (DOM), an extra <br> is added on every refresh.
Resolution
Perform the following local-change:
Create a new RTE control.
Published July 23, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.