This is a migrated thread and some comments may be shown as answers.

RadEditor Insert image style

1 Answer 53 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Pankaj
Top achievements
Rank 1
Pankaj asked on 29 Nov 2011, 11:14 AM
Hi

When we upload image in rad editor and give it height and width it render like
<img src="abc.jpg" style="height:100px; width:100px;">

but in your demo we find it render like

<img src="abc.jpg" height=100 width=100>

Actually we are using this html for mailing purpose so we wand the rendering like it does in your demo.

so please help me to find how can i set my editor so that it render like your demo

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 30 Nov 2011, 03:58 PM
Hi Pankaj,

You should ensure that you are using the latest build 2011.3.1115 and that the ConvertInlineStylesToAttributes content filter is enabled. This filter converts XHTML compliant inline style attributes to Email compliant element attributes.

Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
Pankaj
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or