fix presentation snapshot feature
This commit is contained in:
parent
81b15ae329
commit
ff52b6ae28
@ -189,7 +189,7 @@ const PresentationMenu = (props) => {
|
||||
|
||||
try {
|
||||
const { copySvg, getShapes, currentPageId } = tldrawAPI;
|
||||
const svgString = copySvg(getShapes(currentPageId).map((shape) => shape.id));
|
||||
const svgString = await copySvg(getShapes(currentPageId).map((shape) => shape.id));
|
||||
const container = document.createElement('div');
|
||||
container.innerHTML = svgString;
|
||||
const svgElem = container.firstChild;
|
||||
|
Loading…
Reference in New Issue
Block a user