Archived topic
Disabling GP editor theme for Gutenberg
3 replies · Started by ShotaCat on March 15, 2019
Viewing posts 1–4 of 4
Hello,
I was wondering how I could disable GP's editor theming for Gutenberg?
The content background color can be distracting and also clips into the admin menu if I use a custom one.
Hi there,
Give this function a try:
add_action( 'after_setup_theme', function() {
remove_action( 'enqueue_block_editor_assets', 'generate_enqueue_google_fonts' );
remove_action( 'enqueue_block_editor_assets', 'generate_enqueue_backend_block_editor_assets' );
} );
Let me know :)
Awesome! That did the trick.
Thanks so much.
You're welcome :)
This archived topic is closed to new replies.