Skip to main content

Support Article

Rich text editor "Paste from Word" feature formatting issue

SA-28762

Summary



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.


Error Messages



Not Applicable


Steps to Reproduce

  1. Copy formatted text from Word.
  2. Paste it into the Paste from Word feature in a Pega rich text editor.


Root Cause



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.

Resolution



An enhancement request, FDBK-16831, has been created for consideration by Pega Product Management. 
Suggest Edit

Published October 24, 2016 - Updated October 8, 2020

Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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