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

image properties like height and width are automatically converted as styles

1 Answer 38 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Platinum
Top achievements
Rank 1
Platinum asked on 16 May 2008, 02:36 AM
Hi,

I am using RAD eDITOR for sharepoint and the version no is 4.5.1.0.

Currently the image properties like height and width are automatically converted as styles as shown below.

<img width="0"  alt="" style="width: 256px; height: 256px" src="http://s-km03d:9007/Copy%20of%20sample.JPG" border="0" />

but i would like to show as below in the html

<img width="0"  alt="" width="256" height=256 src="http://s-km03d:9007/Copy%20of%20sample.JPG" border="0" />

Kindly advise

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 19 May 2008, 01:25 PM
Hi Ashiq,

Indeed, image properties like height and width are automatically converted as styles and this behavior is not related to the editor but to the browser itself. Unfortunately, at this point we cannot provide a workaround or fix, but we will continue our research on the problem. If we find an appropriate solution that produces a consistent result in all browsers we will release a hotfix.


Sincerely,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
Platinum
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or