Excalidraw export (#2246)

This commit is contained in:
Guillaume Grossetie 2020-11-02 20:14:20 +01:00 committed by GitHub
parent 58861e87e5
commit a7da8901d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 6250 additions and 10 deletions

View file

@ -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");