Viewing 3 replies - 1 through 3 (of 3 total)
  • I’ve been able to dequeue those scripts using a child theme, their names are wp-block-library and wp-block-library-theme. I used wp_dequeue_style().

    Totally agree that if one is using the Classic editor, they should not be loaded as they shouldn’t be used.

    Cheers

    Plugin Author Andrew Ozz

    (@azaozz)

    This was discussed earlier: https://ww.wp.xz.cn/support/topic/block-editor-assets-still-enqueued/. For now you can disable it by making a tiny plugin and dropping it in mu-plugins, however eventually that CSS may be needed by your theme or if you even change the Classic Editor plugin’s settings.

    Thread Starter eaglejohn

    (@danielbenjamins)

    Sorry, didn’t see that topic.

    I’ll add it to functions.php on all my clients old/current websites that will never use the Gutenberg editor and reconsider for future websites.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove Gutenberg CSS’ is closed to new replies.