Support Article

Issue with word wrap of text in case narrative section

SA-29328

Summary



Long text (without any space or enter) when entered (as a comment) via a RichTextEditor control for a case, does not appear to be in Word Wrapped under the Case Narrative tab of Audit tab.


Error Messages



Not Applicable


Steps to Reproduce

  1. Enter a long text (without any space/enter) in a RichTextEditor control for a case.
  2. Click submit. 
  3. View the comment from the Case Narrative tab of Audit tab. 


Actual Behavior: The long text entered appears to be with scroll bar and is not word wrapped.
Expected Behavior: The long text to appear as word wrapped.


Root Cause



CaseNarrative tab of Audit tab has been customized to show formated text using RichTextEditor control. This section was rendered using non-auto generated section which is not formated to display long text.

Resolution



Perform the following local-change: 

Add below style to the UserWorkForm/non-auto generated section(created for displaying the RichTextEditor content) rule. 

<style> 
.gridCell .sectionDivStyle .inspector-span{ 
word-wrap: break-word; 
width: 800px; 
white-space: normal; 

</style> 

 

Also, FDBK-16959 is raised as enhancement request for the Case Narrative tab scenario to be considered in the future version of product.

Published October 19, 2016 - Updated October 26, 2016

Have a question? Get answers now.

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