restore custom elements with correct type
This commit is contained in:
+3
-1
@@ -195,7 +195,9 @@ const restoreElement = (
|
||||
});
|
||||
}
|
||||
case "custom":
|
||||
return restoreElementWithProperties(element, { customType: "custom" });
|
||||
return restoreElementWithProperties(element, {
|
||||
customType: element.customType || "custom",
|
||||
});
|
||||
// generic elements
|
||||
case "ellipse":
|
||||
return restoreElementWithProperties(element, {});
|
||||
|
||||
Reference in New Issue
Block a user