Classic Editor Styling

As of WordPress 5.9 and GeneratePress 3.1.3, we had to remove the old Classic Editor styling that was bundled with the theme. This was due to changes in 5.9 that required us to use the same system for the block editor styling, which would have caused conflicts between the two systems.

However, if you’re still using the Classic Editor and want the old styling back, we made it easy to achieve with a simple filter:

add_filter( 'generate_editor_styles', function( $editor_styles ) {
    if ( class_exists( 'Classic_Editor' ) ) {
        $editor_styles = array( 'assets/css/admin/editor-style.css' );
    }
	
    return $editor_styles;
}, 20 );