Is there a way to remove the “editor-typography.css” from the editor?
This stylesheet is injected as inline css here: (block-editor.php (line 140)):
if ( generate_is_using_dynamic_typography() ) {
wp_add_inline_style( 'wp-edit-blocks', wp_strip_all_tags( GeneratePress_Typography::get_css( 'core', 'editor' ) ) );
}
The reason I want to remove it is because the styles override the custom rules I specified in my theme.json file:
I’ve read that I can override editor-typography.css in my child theme. So I could just create an empty stylesheet and load that.
Just wondering if there’s a better/cleaner way to do this 🙂