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

SVG files exported from the editor are a little bit invalid #52

Open
dumbmatter opened this issue Sep 16, 2024 · 0 comments
Open

SVG files exported from the editor are a little bit invalid #52

dumbmatter opened this issue Sep 16, 2024 · 0 comments

Comments

@dumbmatter
Copy link
Member

If you export an SVG from the UI (such as
facesjs-20240916191036) and open it in Chrome or Firefox, it says something like this rather than displaying the SVG:

This XML file does not appear to have any style information associated with it. The document tree is shown below.

Probably the SVG we're generating is not quite correct. Could be related to https://stackoverflow.com/questions/11104324/svg-image-tag-not-working

SVGs generated by the facesjs CLI don't have this problem, so you could also compare with that and see what the difference is.

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

No branches or pull requests

1 participant