ck-dragresize icon indicating copy to clipboard operation
ck-dragresize copied to clipboard

Whether it would be better use 'width', 'height' attribute for IMG element?

Open ika18 opened this issue 11 years ago • 2 comments
trafficstars

In some case, use ckeditor as an online email editor. It works fine in view email in web client. But view email in some email client, such as outlook, the IMG size doesn't work properly.

ika18 avatar Sep 12 '14 10:09 ika18

I tried this, but CKEditor automatically changes size attributes to styles, so I went with that. I think the solution to your use case might be to programatically add the width/height attributes before submitting the content. You should be able to attach an event listener in CKEditor to modify the content at the right time.

sstur avatar Sep 13 '14 19:09 sstur

Hi @sstur , thanks for your reply. I create pull request #16 to describe my thought clearly. Could you please take a look into this when you are free. Thanks again!

ika18 avatar Sep 18 '14 14:09 ika18