Gutenberg editor error on Tablet & Mobile view - CSS and JS not loading

This is strongly related to the topic I just posted here..

In the Gutenberg block editor, the tablet and mobile view are rendered as iframes which blocks your editor CSS from being inherited. The desktop view is an inline div so your editor css works in that view. In order to get WordPress to properly inject the styles into desktop, tablet, and mobile views you need to use the add_editor_style function described here.

So you will be able to fix all your editor views with the function I mentioned above, but next you’re going to run into the build process issues I mentioned here..

1 Like