oz-image-in-editor-obsidian icon indicating copy to clipboard operation
oz-image-in-editor-obsidian copied to clipboard

[Bug] Image in bullet point renders twice

Open chmosquera opened this issue 1 year ago • 2 comments

In edit mode, when I format an image into a bullet point, the image appears twice.

How to reproduce

  1. Open a clean vault. For example, in Obsidian choose Help > Open Sandbox Vault.
  2. Enable community plugins and install Ozan's Image in Editor Plugin.
  3. Find or add an image to a page.
  4. Format the image as a bullet point.
  5. Observe the following behavior:
    • When your cursor is on the line that add's an image, it renders the image once, as expected. image
    • When your cursor is away, the image renders twice. image

Note: The image only renders twice when in a bullet point and in edit mode. The render appears as expected when in reading mode.

chmosquera avatar May 10 '23 15:05 chmosquera

I also find a similar issue on edit mode, when I open a note again, the render always go back to the first page of the pdf file. But if I open it on reading mode, the issue never occur. Please fix this bug due to I'm mainly use the live preview which basically the edit mode.

funamorisenji avatar May 24 '23 18:05 funamorisenji

I get double images in a lot of different scenarios:

CleanShot 2024-01-31 at 08 04 53@2x

here's without preview mode (note i still see the image here, but i don't see it after i disable the plugin): CleanShot 2024-01-31 at 08 05 34@2x

Update: I fixed this by turning off the Render All option in Ozan's Image in Editor Plugin Settings

ignu avatar Jan 31 '24 16:01 ignu