added functionality to remove all clipPath elements from svg into the placeSVG function
This commit is contained in:
parent
36837246fe
commit
0c5804e51a
1 changed files with 7 additions and 0 deletions
|
|
@ -241,6 +241,13 @@ $(function(){
|
|||
var doc_height = null;
|
||||
var doc_viewbox = null;
|
||||
|
||||
// find clippath elements
|
||||
var clipPathEl = f.selectAll('clipPath');
|
||||
if(clipPathEl.length != 0){
|
||||
console.warn("Warning: removed unsupported clipPath element in SVG");
|
||||
clipPathEl.remove()
|
||||
}
|
||||
|
||||
// iterate svg tag attributes
|
||||
for(var i = 0; i < root_attrs.length; i++){
|
||||
var attr = root_attrs[i];
|
||||
|
|
|
|||
Loading…
Reference in a new issue