Child theme editor-style.css no longer shown in Gutenberg with WP 6.1
-
For the first time I am putting together a site using Gutenberg as the editor, having previously used the Classic editor.
I set up:
add_theme_support(‘editor-styles’);
add_editor_style( ‘editor-style.css’ );in my child theme functions.php. and created my editor-style.css My parent theme is 2020.
I had almost finished the styling, when… Since updating to wp 6.1, my child theme css styles no longer show in the block editor.
The editor-style.css link now appears nowhere in the code of the editor page.
Is it possible that wp 6.1 no longer supports child theme editor styles for Gutenberg ?
It seems so unlikely and yet I feel like I’ve checked everything else.
I have tried:
– disabling all plugins (there are only 3, it’s a very simple site)
– rolling theme 2020 back to version 1.9.
– moving the add theme support to the top of functions.php, and to the end of it.
– removing everything else from my functions.php file and just enqueuing the editor styles.
– adjusting the version of Jquery
-(on the offchance) resaving my permalinks.Everything else in functions.php and my child theme is working as expected. Any further ideas gratefully recieved.
The page I need help with: [log in to see the link]
- The topic ‘Child theme editor-style.css no longer shown in Gutenberg with WP 6.1’ is closed to new replies.