Breaks Gutenberg’s iframe
-
Recently, I was building a theme using the last versions of Gutenberg, which since recently, embeds an iframe for the post editor, be it a desktop or mobile visualization. This allows for a better control over responsive, amongst other things.
The iframe is displayed if all blocks are using apiVersion 3 (see register blocks) and if there are no classic meta boxes.
Currently, if Yoast SEO is activated, the iframe is disabled. If I remove Yoast meta boxes, unregister Yoast blocks and unregister scripts (“yoast-seo-block-editor.js” and “yoast-seo-dynamic-blocks”), the iframe comes back.
It’s not so much of an issue on the desktop version, but the mobile version does not reflect at all the actual design (media queries not applied).
Is that issue known on your side, and do you plan to resolve it anytime soon ? For now, I can’t use Yoast anymore on block themes.
- The topic ‘Breaks Gutenberg’s iframe’ is closed to new replies.