Svgedit REAL inline code sample #534
-
Can we have a working example solution to make svg edit working like an HTML inline code ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The short answer to your question is that, short of the iframe approach (as used in The latest versions of SVGEdit bundle more of the files together than previously, but there are still the following:
You may be interested to follow #242 (particularly the 7th item in the list) for a hoped-for future improvement to #1 (but it would require a fair amount of work, and would come at a cost in increasing initial render time). As far as the number of separate script tags in the svg-editor files, while we could reduce the number further, here are the reasons we don't for each file. (Some reasons are listed in source, but I've expanded a little here.)
While we could make versions which also bundled the two jquery files and the polyfills, we're already providing more dist files than are probably of interest to most. So that's the rationale at least. |
Beta Was this translation helpful? Give feedback.
-
V7 does not use a frame anymore. You can just make a div in your html and initialize it. Look at index.html/index.js for an example. |
Beta Was this translation helpful? Give feedback.
V7 does not use a frame anymore. You can just make a div in your html and initialize it. Look at index.html/index.js for an example.