Site logo

Archived topic

Gutenberg Styling

3 replies · Started by Berto on April 24, 2020

Viewing posts 1–4 of 4

Does this still work:

remove_action( 'enqueue_block_editor_assets', 'generate_enqueue_backend_block_editor_assets' );

Website front end is all back and white but these colours are being applied to the backend editor.

I tried the code above but styling is still showing.

Hi there,

try:

add_action( 'after_setup_theme', function() {
    remove_action( 'enqueue_block_editor_assets', 'generate_enqueue_backend_block_editor_assets' );
} );

Thank you David.

You're welcome

This archived topic is closed to new replies.