You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm loading a canvas from JSON. The scenario I have here is simple: One of the images has a broken link.
It causes this specific object to have _element property and _originalElement property to be null and then when I try to JSON.stringify(canvas) it raises an error:
For now I'll check after loading the canvas for every image without this properties properly set and try to remove them but I think we should somehow avoid this inconsistency.
Do you have any thoughts?
Thanks and best.
The text was updated successfully, but these errors were encountered:
Hey guys,
I'm loading a canvas from JSON. The scenario I have here is simple: One of the images has a broken link.
It causes this specific object to have
_element
property and_originalElement
property to benull
and then when I try toJSON.stringify(canvas)
it raises an error:Looking at this line I can see:
For now I'll check after loading the canvas for every image without this properties properly set and try to remove them but I think we should somehow avoid this inconsistency.
Do you have any thoughts?
Thanks and best.
The text was updated successfully, but these errors were encountered: