-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove width and height after quit editing #1899
Conversation
Hi @julia, this change made a regression on outlook mobile side. When we edit an image with a preset "width" style, which has a higher priority than element's "width" attribute, if we only apply the change on element's "width" attribute, then the image's size won't change. |
Hey @haven2world, we made this change to fix a issue in client web. Do you need to keep image width in the Outlook mobile scenario? |
I read the PR description. I just wonder whether an image like |
I can reproduce the issue you are reporting now. We should not have width/height style attributes in the final image. If the image has this style attributes, we should remove it and only let width/height attributes. |
Hey @haven2world we have a fix for the issue you reported #1961. Do you need a patch fix for it or is it ok to wait for the next release? |
Only set image width and height to the image in editing mode. After editing the image do set width and height style properties. This properties were removed, because it was causing an issue in Outlook after the image has been sent.
Bug:
Expected: