2518108 - Preserved Text Formatting in Rich Text Editor

SAP Knowledge Base Article - Public

2518108 - Preserved Text Formatting in Rich Text Editor

Symptom

Copy-pasting formatted text from other sources into the rich text editor removes html and text formatting.

Environment

  • SAP Hybris Cloud for Customer
  • RUI/Fiori
  • HTML5

Cause

All text formatting is removed except new lines and paragraphs to prevent any whitelisting errors when saving the formatted text content.

Resolution

Currently there is small difference in what is preserved based on the UI that is used when copy-paste of formatted text is performed.

  • RUI: All html and text formatting is removed except new lines and paragraphs.
  • HTML5: All html and text formatting is removed except new lines, paragraphs, bold, italic, underline and strikethrough text.

SOURCE TEXT:

sourcetext.png

RUI:

RUI_formatting_cp.png

HTML5:

HTML5_formatting_cp.png

See Also

https://help.sap.com/viewer/13b15f8d29f548ec827f04a041a163f2/1802/en-US/af19fdf1563843faa4f4f50af0843929.html

Keywords

copy; paste; copypaste; copy-paste; formatting; text; rich text; html5; rui; fiori; text format; , KBA , copy , formatting , copy-paste , text , copypaste , paste , richtext , rich text editor , rich text , html5 , fiori , format , rui , text format , LOD-CRM-PM-PF , C4C Product Management - Platform , Product Enhancement

Product

SAP Hybris Cloud for Customer all versions