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

SVGWindowCtrl error while loading in DrawSvg #39

Open
bartbutenaers opened this issue Oct 3, 2019 · 1 comment
Open

SVGWindowCtrl error while loading in DrawSvg #39

bartbutenaers opened this issue Oct 3, 2019 · 1 comment

Comments

@bartbutenaers
Copy link
Owner

bartbutenaers commented Oct 3, 2019

When I install it on:
3 Oct 15:43:49 - [info] Node-RED version: v0.19.5
3 Oct 15:43:49 - [info] Node.js version: v8.10.0

By default the SVG source only contains this:

<svg height="100" width="100">
</svg>

Chrome shows me a popup when I try to open the DrawSvg iframe:
SVGWindowCtrl error while loading (TypeError) : Cannot read property 'Qv' of null

And then DrawSvg shows a popup :
image

Will need to test if the default SVG string is perhaps a bit too minimalistic (e.g. namespaces ...)

@bartbutenaers
Copy link
Owner Author

bartbutenaers commented Oct 3, 2019

Steve (@Steve-Mcl),
I get that DrawSvg error as soon as I remove at least one of the namespaces from the SVG element...
Not sure whether we should handle this or DrawSvg?
When I remove the namespaces, I don't get an error by the Ace editor. So I assume the SVG is correct, so DrawSvg could add the namespaces automatically if not availalbe?

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

1 participant