mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Excalidraw export (#2246)
This commit is contained in:
parent
58861e87e5
commit
a7da8901d8
17 changed files with 6250 additions and 10 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue