Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to preview the SVG image tag with this extension? #51

Open
mendhak opened this issue Apr 10, 2021 · 1 comment
Open

Is it possible to preview the SVG image tag with this extension? #51

mendhak opened this issue Apr 10, 2021 · 1 comment

Comments

@mendhak
Copy link

mendhak commented Apr 10, 2021

Hello there,

Is it possible to preview the image tag with this extension? My attempts so far haven't been successful.
I'm following the MDN Example which is:

<svg width="200" height="200"
  xmlns="http://www.w3.org/2000/svg">
  <image href="https://mdn.mozillademos.org/files/6457/mdn_logo_only_color.png" height="200" width="200"/>
</svg>

But that just produces an error-image icon

image

The .svg previews fine in browsers. I've also tried xlink:href, and also tried <use> with href/xlink:href, no success.

@vitaliymaz
Copy link
Owner

That is definitely not possible with the current implementation. I will investigate that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants