Support » Plugin: Classic Editor » Classic Editor should dequeue the Gutenberg CSS

  • The Gutenberg stylesheets are still loaded, for absolutely no reason at all. This is easy to disable via functions.php, but I feel like this plugin should do it for us.

    wp-block-library-css: /wp-includes/css/dist/block-library/style.min.css
    wp-block-library-theme-css: /wp-includes/css/dist/block-library/theme.min.css

    I personally use the following (in functions.php) to get rid of these unnecessary requests:

    add_action('wp_enqueue_scripts', function() {
    wp_dequeue_style('wp-block-library');
    });
  • You must be logged in to reply to this topic.