How do you wrap the text automatically? I have tried several approaches but none of them it works.
Data type for the Description field is: Rich Text Area(131072)
Visualforce page:
<apex:outputText value="{!SUBSTITUTE(description,'\n','\\\n')}"
escape="false" style="white-space:pre;"/>
Controller:
public String Description {get;set;}
in the controller constructor:
myobject__c = /*soql*/
Description = myboject__c.Description__c;
Screen shot:
white-space
style topre-wrap
...