How to Customize WordPress Editor Style

If you do not like default display style of wordpress editor, you can customize it.

Step 1: Create a file named custom-editor-style.css in your theme folder

Step 2: Edit this file and add some css style

Step 3: Add code below to your theme functions.php file

function wpdocs_theme_add_editor_styles() {
add_editor_style( 'custom-editor-style.css' );
}
add_action( 'admin_init', 'wpdocs_theme_add_editor_styles' );

Then you will find some changes of default wordpress editor.

, ,