Excalidraw export (#2246)
This commit is contained in:
committed by
GitHub
parent
58861e87e5
commit
a7da8901d8
@ -128,7 +128,7 @@ export const exportToSvg = (
|
||||
</defs>
|
||||
`;
|
||||
|
||||
// render backgroiund rect
|
||||
// render background rect
|
||||
if (exportBackground && viewBackgroundColor) {
|
||||
const rect = svgRoot.ownerDocument!.createElementNS(SVG_NS, "rect");
|
||||
rect.setAttribute("x", "0");
|
||||
|
Reference in New Issue
Block a user