zsviczian / obsidian-excalidraw-plugin

A plugin to edit and view Excalidraw drawings in Obsidian
4.22k stars 231 forks source link

BUG: drop image from url #1242

Open 7flash opened 1 year ago

7flash commented 1 year ago

Describe the bug Empty image when drag&drop from browser on canvas

To Reproduce

  1. Go to https://fastly.picsum.photos/id/416/200/300.jpg?hmac=KIMUiPYQ0X2OQBuJIwtfL9ci1AGeu2OqrBH4GqpE7Bc
  2. Drag&Drop image from browser to the canvas

Expected behavior Expected image embedded

Screenshots image

zsviczian commented 1 year ago

On 1.9.1.0 I tried with the link you provided (and some others). I tried embedding URL images and to import to the image to Obsidain. Everything worked as expected. I am not yet able to reproduce the issue.

7flash commented 1 year ago

It happens sometimes, my rough guess it's in drop handler switch statement calling wrong function