feat: remove ExcalidrawEmbeddableElement.validated flag (#7539)

This commit is contained in:
David Luzar 2024-01-11 17:42:51 +01:00 committed by GitHub
parent 86cfeb714c
commit 0c24a7042f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 94 additions and 39 deletions

View file

@ -295,11 +295,8 @@ const restoreElement = (
case "rectangle":
case "diamond":
case "iframe":
return restoreElementWithProperties(element, {});
case "embeddable":
return restoreElementWithProperties(element, {
validated: null,
});
return restoreElementWithProperties(element, {});
case "magicframe":
case "frame":
return restoreElementWithProperties(element, {