Rich text editor "Paste from Word" feature formatting issue
When user copies data from the Microsoft word document in to RTE, some of the formatting is getting loss.
User have a requirement that states users must utilize the Rich Text Editor control to import formatted text into the system.
The text contains headers, tables, and may contain simple pictures. The issue they are facing is with the “copy from word” feature that the rich text editor control has. When they try to “copy from word” all the formatting disappears and even some tables are not present. When this occurs, they are required to manually fix the formatting in the rich text editor which is unrealistic because it adds labor and inconsistencies to the process.
Steps to Reproduce
- Copy formatted text from Word.
- Paste it into the Paste from Word feature in a Pega rich text editor.
Pega product uses a third-party API (CKEditor) for RTE implementation. The loss of formatting is a generic issue with this editor as content created in a rich-text editor like Microsoft Word or Google Docs often includes underlying HTML formatting code. If rich text is pasted into a RTE control, this hidden code can cause formatting changes that may affect the way it appears on UI and causing the reported issue.
An enhancement request, FDBK-16831, has been created for consideration by Pega Product Management.