You need to sign in to do that
Don't have an account?
deter dangler
wordwrap css property for rich text fields?
I have a custom field "FieldOne" of type Rich Text Area on Custom Object and I am setting the value for this field in apex as below :
When I inspected this element on the page using FireBug it shows that style attribute is empty for the <p> element..
Why is salesforce stripping the word-wrap property from the style attribute? or am I doing something wrong?
<p style="word-wrap:break-word;">aLongAnnoyingContinuousWordWithNoSpacesInBetweenThemIReallyWantToWrapThisUsingCSSWordWrapStylePropertyButItDoesnotWorkAndSimplyDisplaysAsOneContinuousLine</p>But on the detail page of the Object, It just displays as a long continuous text and user has to scroll to the right to see the complete text.
When I inspected this element on the page using FireBug it shows that style attribute is empty for the <p> element..
Why is salesforce stripping the word-wrap property from the style attribute? or am I doing something wrong?
https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_using_rich_text_area.htm&language=en_US