Gutenberg Editor Styles
-
When the Gutenberg Editor becomes the default, will the Twenty ## themes be updated such that the editor looks like the front end?
I’ve managed to get some things changed by creating a blocks.css file and adding the following to my child theme’s functions.php:
/** * Enqueue block editor style */ function mytheme_block_editor_styles() { wp_enqueue_style( 'mytheme-block-editor-styles', get_theme_file_uri( '/blocks.css' ), false, '1.0', 'all' ); } add_action( 'enqueue_block_editor_assets', 'mytheme_block_editor_styles' );I am guessing since these are WordPress themes that they will be updated at some point?
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Gutenberg Editor Styles’ is closed to new replies.
