Sync with latest SVG-Edit
Loading of configuration data via URL query string. Now no differences, from trunk, in svgcanvas.js or svg-edit.js.
This commit is contained in:
parent
c946c331e1
commit
5167363a2d
6 changed files with 2749 additions and 2677 deletions
|
@ -82,7 +82,7 @@ function setupSVGedit(path){
|
|||
f.insert({top: SVGeditButton});
|
||||
SVGeditButton.disabled = true;
|
||||
Event.observe(SVGeditButton, 'click', function(){
|
||||
var editor = window.open(path, 'Edit SVG graphic', 'status=1,resizable=1,scrollbars=1');
|
||||
var editor = window.open(path + "?initStroke[width]=2", 'Edit SVG graphic', 'status=1,resizable=1,scrollbars=1');
|
||||
editor.addEventListener("load", function() {
|
||||
editor.svgEditor.setCustomHandlers({
|
||||
'save': function(window,svg){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue