When undo picture, shows error

when i undo the last version gojs shows error

  • “property set error: Error: Picture.element must be an instance of Image, Canvas, or Video, not: undefined”

this sample can reproduce, copy the image and paste it and push Ctrl+Z undo it.

Thank you for reporting this. We’ve just released GoJS 2.2.22, which has a fix for this issue.

simon thank you~