Show css styles in editor
-
Hi there,
I have always used a certain php-code, which ensures that all css specifications made in the style.css of the childtheme are also displayed in the editor. This has always worked very well so far.
add_filter( 'generate_editor_styles', function( $editor_styles ) { $editor_styles[] = 'style.css'; return $editor_styles; } );
Now this suddenly doesn’t work anymore ??
It looks good in the frontend, but the block-editor no longer adopts the styles.Since I format almost everything via style.css, it now looks like a mess in my editor ??
I read that this could have something to do with the version 6.5.
Is this right?Is there perhaps another php-snippet with which one can achieve that the editor shows the css specifications from the style.css?
Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Show css styles in editor’ is closed to new replies.