Fix an SVG nonce bug
Dunno when this problem with randomized IDs arose. But it's fixed now. Also, sync with latest SVG-Edit.
This commit is contained in:
parent
18b5ea9aa6
commit
da0c6a2ea1
17 changed files with 577 additions and 279 deletions
|
@ -86,6 +86,7 @@ function setupSVGedit(path){
|
|||
editor.addEventListener("load", function() {
|
||||
editor.svgEditor.setCustomHandlers({
|
||||
'save': function(window,svg){
|
||||
editor.svgEditor.setConfig({no_save_warning: true});
|
||||
window.opener.postMessage(svg, window.location.protocol + '//' + window.location.host);
|
||||
window.close();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue