Fix connectors to work with foreignObject
Alexis got this working on SVG-Edit trunk.
This commit is contained in:
parent
08cd194330
commit
2dfb852727
5 changed files with 95 additions and 84 deletions
|
@ -63,7 +63,6 @@ $(function() {
|
|||
var newDoc = Utils.text2xml('<svg xmlns="'+svgns+'" xmlns:xlink="'+xlinkns+'">'+xmlString+'</svg>');
|
||||
// run it through our sanitizer to remove anything we do not support
|
||||
S.sanitizeSvg(newDoc.documentElement);
|
||||
|
||||
elt.parentNode.replaceChild(svgdoc.importNode(newDoc.documentElement.firstChild, true), elt);
|
||||
S.call("changed", [elt]);
|
||||
svgCanvas.clearSelection();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue