TypeError: Cannot read property 'parentElement' of null

Sentry Issue: FRONT-4S

TypeError: Cannot read property 'parentElement' of null
  at apply (./src/app/common/components/editors/plugins/embed-image.plugin.ts:183:29)
  at apply (./src/app/common/components/editors/plugins/buttons.plugin.ts:476:19)
...
(18 additional frame(s) were not displayed)