What's the difference between xdomain-svg-editor and svg-editor? #548
Replies: 1 comment
-
The cross-domain editor allows, when the The xdomain-svg-editor.html should probably never be used as is, since its config allows any origin to control it, but it demonstrates how one can permit other origins (e.g., those under one's control or trusted, or subject to user control) to control the editor. (Its use shouldn't impact You can see the differences more precisely by looking at the config differences in their uncompiled JS entrance files:
The distinct aspect is the
While you can remove other HTML files, there is no guide for which files are needed beyond looking at what files the HTML includes (and if using the ESM editors--modern browsers only--what files its JavaScript imports). As far as an error in using the xdomain editor, it is always helpful to know if you are getting a browser console error. |
Beta Was this translation helpful? Give feedback.
-
Could you explain conceptual differences?
I downloaded svgedit and tried it out. Version from editor/svg-editor.html works good, but xdomain-svg-editor.html doesn't work.
Which files should I remove if I want use only svg-editor.html? Is there some some guide for it?
Beta Was this translation helpful? Give feedback.
All reactions