mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: cleanup svg export and move payload to <metadata>
(#8975)
This commit is contained in:
parent
798c795405
commit
36274f1f3e
10 changed files with 220 additions and 186 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue