Resized images are cropped in the composer preview

Oddly, I didn’t find any topic about that, but it has been a long-standing minor issue.

Here, I defined the custom size as 50×20 for a square emoji:

![squish!|50x20](https://emoji.discourse-cdn.com/twitter/melting_face.png?v=15)

Result in the markdown composer preview:
image

Result in the post looks as expected:
image

Also, images that have been given custom height and width in the markdown editor ignore those attributes when we switch to the rich editor markdown:
image

However, it looks as expected when posted.

2 likes