Switching to mobile or tablet in Gutenberg editor breaks images of custom block

When this only occurs in an iframe, then it is caused by the host-relative URL of the image. I also encountered this issue and had to use an absolute path instead.

1 Like