image properties like height and width are automatically converted as styles

2 posts, 0 answers
  1. Platinum
    Platinum avatar
    31 posts
    Member since:
    Jan 2008

    Posted 15 May 2008 Link to this post

    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
  2. George
    Admin
    George avatar
    859 posts

    Posted 19 May 2008 Link to this post

    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

Back to Top