Closes #1791 (closed)
The issue is in the image embed, on image click. This is bound as an onclick event and if its firing on an image, and if e.target doesn't exist, we should just be returning void.
To test please go make a blog, add an image, click it, deselect etc.
To use Gitpod you must first enable the feature in the integrations section of your user preferences.