Minor tweaks
Allow 'markdown' attribute on <svg> and on <foreignObject> in SVG-edit whitelist. Specify SVG-edit Window properties.
This commit is contained in:
parent
c32e5b7178
commit
f98802336f
2 changed files with 4 additions and 4 deletions
|
@ -84,9 +84,9 @@ function setupSVGedit(path){
|
|||
Event.observe(SVGeditButton, 'click', function(){
|
||||
if (selected) {
|
||||
var editor = window.open(path +'?source=data:image/svg+xml;base64,' + window.btoa(selected),
|
||||
'Editing Existing SVG Graphic');
|
||||
'Editing Existing SVG Graphic', 'status=1,resizable=1,scrollbars=1');
|
||||
} else {
|
||||
var editor = window.open(path, 'Creating New SVG graphic');
|
||||
var editor = window.open(path, 'Creating New SVG graphic', 'status=1,resizable=1,scrollbars=1');
|
||||
}
|
||||
SVGeditButton.disabled = true;
|
||||
SVGeditButton.value = 'Create SVG graphic';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue