In ckeditor: Is there a way to get the width and height attributes instead of css style attribute for the image dimensions?
Asked
Active
Viewed 788 times
1
-
Can you clarify what are you trying to do ? – Zuul Jun 17 '10 at 09:47
-
I *think* this has been asked before and the answer was yes, but only by changing the image plugin. Can't find the dupe right now though. – Pekka Jun 17 '10 at 09:48
-
i would like to have width and height attributes instead of style="width:100;height:75". – David Verhulst Jun 17 '10 at 09:55
-
i know i found some posts about it but allways regarding the older fckeditor – David Verhulst Jun 17 '10 at 09:56
-
You mean *inline* styling of width and height, instead of declaring it in CSS? – Kyle Jun 17 '10 at 09:59
-
no i do not want any css also not inline. ckeditor generates xhtml where the width and heightare specified using inline css styles. I want the good old width and height attributes because i'm using ckeditor as a newsletter maker and some clients like outlook do not support inline css width and height on images... – David Verhulst Jun 17 '10 at 10:13
1 Answers
0
As I said in ckeditor-ckfinder default attributes (width and height) to uploaded images the output_html.html sample shows how to use attributes and not styles for the dimensions.