editor-styles-wrapper class not applied to editor-styles css

I use the gutenberg editor with some custom styling applied in the backend. These css files are added with editor-styles.

So I have added editor-styles theme support:

add_theme_support( 'editor-styles' );

and I load the stylesheet with the add_editor_style() function. I do this in the after_setup_theme.

Everything works fine on my localhost, and also on my (online) test server. I can see the custom styling and it is prefixed with the .editor-styles-wrapper in the body as expected.

But now I moved this website to the live webserver and the editor-styles css files are loaded with a 200 status, but there is no prefixed version of them in the body. I cannot find any other case like this.

The server configuration of the live server and test server are identical.

What could be causing this problem?

  • This topic was modified 2 days, 12 hours ago by mluzvdb.

Source link