Customer reported to me an issue with RTE (Rich Text Editor) when row reordering. In this post, I will share how to fix it.
1. On a section rule, place a Table and configure Rich Text Editor control for your preferred column.
2. Enable row editing and make rows always editable.
3. Populate data on RTE field from screen.
4. Drag and drop any rows for reordering. When you drop it, data gets cleared.
Actually data still remains on clipboard - if you refresh a section, data will appear. However, end users are confused with data loss for sure.
Switch RTE type from defaulted "Classic" to "Lightweight", shown as below.
Now let's test it. Drag and drop won't clear data any more and it stays on field properly.
Classic Rich Text Editor: This is the default RTE type when you use RTE control. Classic RTE is rendered in an iframe and by default supports both the CKEditor plugins and the Pega RTE plugins. Classic RTE is heavy-weighted because it uses a separate iframe within the parent window to render.
Lightweight Rich Text Editor: This is also known as the Inline Editor, and it can help to control memory leaks because the RTE is rendered in <div> rather than <iframe> elements, and it is light-weighted. The Lightweight RTE only supports the CKEditor plugins, but it does not support some of the Pega RTE plugins, which depend on the <iframe> element.
Hope this helps.
***Edited by Moderator Marissa to update Capability tags****