lee88688 / logseq-drawio-plugin

embed and edit drawio in logseq
MIT License
40 stars 1 forks source link

External image does not render #12

Closed shinglyu closed 5 months ago

shinglyu commented 5 months ago

I tried to drag and drop an external image (e.g. https://en.wikipedia.org/wiki/File:ServiceNow_logo.svg) into my diagram. But when I save it it does not render:

Screenshot 2024-01-08 at 14 19 34

If I export it to png in draw.io > File > Export as > PNG, it is also not rendering.

Tried dragging in PNG and SVG, both don't work.

lee88688 commented 5 months ago

it seems embedImages should be set to true. I will test it later.

lee88688 commented 5 months ago

after my test, the embeded drawio will embed images by default. if you download the svg you give and drag and drop into embeded drawio, this will show images. but if you directly copy from browser, this will fail. so I think this is drawio's issue, you can use drawio's electron or web app to test and post an issue to him.