Web Images are resized in preview mode

Image, inserted with this syntax: ![]() resizes in preview mode after you edit some text in a note. This happens only if there is no additional carriage return between text and an image.

For example, if you are editing word ‘Test’ in the following note, the image will resize:

Test
![Imgur image](https://i.imgur.com/yu3o00O.jpg)

And will not resize if you are editing word “Test” in the following note:

Test

![Imgur image](https://i.imgur.com/yu3o00O.jpg)

Here is a video of the issue.

Environment

  • Operating system: MacOS 11.5 beta
  • Obsidian version: 0.12.4 (no plugins)

Additional information

1 Like

This only seems to happen for external images (on the web). Can you confirm?

Possibly related to preview optiomizations.

Yes, I was unable to reproduce this issue with local images.