This commit is contained in:
Aakansha Doshi 2023-05-03 14:34:06 +05:30
parent 59e8bf498d
commit 9c63b0124c
2 changed files with 2 additions and 3 deletions

View file

@ -121,8 +121,8 @@ const restoreElementWithProperties = <
y: extra.y ?? element.y ?? 0,
strokeColor: element.strokeColor || oc.black,
backgroundColor: element.backgroundColor || "transparent",
width: element.width || 0,
height: element.height || 0,
width: element.width || 100,
height: element.height || 100,
seed: element.seed ?? 1,
groupIds: element.groupIds ?? [],
roundness: element.roundness

View file

@ -670,7 +670,6 @@ export const convertToExcalidrawElements = (
const elements = bindTextToContainer(element, textElement);
res.push(...elements);
} else {
delete element.children;
//@ts-ignore
res.push(element);
}