Fix Issue 478: markers, filters and clip paths now survive the conversion to path
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1394 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
d6037a742e
commit
8753c552f8
|
@ -5331,6 +5331,15 @@ function BatchCommand(text) {
|
|||
"visibility":"hidden"
|
||||
};
|
||||
|
||||
// any attribute on the element not covered by the above
|
||||
// TODO: make this list global so that we can properly maintain it
|
||||
// TODO: what about @transform, @clip-rule, @fill-rule, etc?
|
||||
$.each(['marker-start', 'marker-end', 'marker-mid', 'filter', 'clip-path'], function() {
|
||||
if (elem.getAttribute(this)) {
|
||||
attrs[this] = elem.getAttribute(this);
|
||||
}
|
||||
});
|
||||
|
||||
var path = addSvgElementFromJson({
|
||||
"element": "path",
|
||||
"attr": attrs
|
||||
|
|
Loading…
Reference in New Issue