mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-18 11:44:23 +01:00
feat: cleanup svg export and move payload to <metadata> (#8975)
This commit is contained in:
@@ -449,7 +449,7 @@ const renderElementToSvg = (
|
||||
|
||||
symbol.appendChild(image);
|
||||
|
||||
root.prepend(symbol);
|
||||
(root.querySelector("defs") || root).prepend(symbol);
|
||||
}
|
||||
|
||||
const use = svgRoot.ownerDocument!.createElementNS(SVG_NS, "use");
|
||||
|
||||
Reference in New Issue
Block a user