Skip to main content


 

Symptoms


Using a Richtext box control, if you add some style on the content and then you send this content by email, the first line is loosing the style you configured. This first line is getting the "master" style (style of the email text).


 

Diagnoses


Hi support,

We use many Richtext box controls on our application and we noticed a strange behavior.
When we are typing several lines in the control (without any special style) then display its content in an email, the first line's style is different than the others.

Troubleshooting shown us that every line of the content is embeded into HTML div markup, but not the first line. This is why the style is not applied correctly.
 

Resolution

This is a workaround but not a final resolutioin.
force a


RICHTEXTBOX CONTENT]
around the RichTextbox content.

As per this workaround, the first line always get the default style of the Richtext box. If a style is applied on the Richtext box content by user, it will overwrite the default style and the result will be the same in the received email.

note: this issue has already been logged as a bug. It will be officially fixed in blackpearl 4.6.11.

 




 
Be the first to reply!

Reply