Make the block editor look like the front end in a classic theme, by loading an editor stylesheet.
add_action( 'after_setup_theme', function (): void {
add_theme_support( 'editor-styles' );
// Path relative to the active (child) theme folder.
add_editor_style( 'assets/css/editor.css' );
} );
Always add PHP to a staging site first, or have FTP or file manager access ready, so you can undo it if something goes wrong.
When the editor shows plain default fonts and colours, what writers see doesn’t match the published page. Classic themes can fix that by loading an editor stylesheet.
add_theme_support( 'editor-styles' ) tells WordPress to apply your stylesheet to the editor canvas. add_editor_style() adds the file. WordPress automatically scopes its rules to the editor content, so a rule for body or h2 only affects the canvas, not the editor interface around it.
Open a post in the editor. Headings and paragraphs should use your theme’s fonts and colours.