Skip to main content The Trailblazer Community will be unavailable from 2/1/2025 to 2/2/2025. Please plan your activities accordingly.
I have an text area field for the description of my case.

<apex:inputTextArea label="Description" value="{!Case.Description}" cols="120" rows="10" />

and for the view the output is as follows:

<apex:outputText label="Description" value="{!Case.Description}" style="word-wrap:break-word;white-space: normal" />

If I enter a lot of information with brakes or any type of formatting, after I save it, it turns into a one paragraph, no format at all.

I tried the word wrap CSS style, but still doing the same thing. Any ideas?

User-added image
9 answers
  1. May 21, 2015, 7:54 PM
    Did you use it as OutputText or OutputField?

    Use it directly as <apex:outputField label="Description" value="{!Case.Description1}"  />

    Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help
Loading
0/9000