include minified css

The gulp fix for minify also minifies custom-editor-style.css.
Fixed to include the minified version
This commit is contained in:
Johan Nielsen 2018-03-21 20:08:02 +01:00 committed by GitHub
parent b47d327882
commit da311e953e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
* Registers an editor stylesheet for the theme. * Registers an editor stylesheet for the theme.
*/ */
function understrap_wpdocs_theme_add_editor_styles() { function understrap_wpdocs_theme_add_editor_styles() {
add_editor_style( 'css/custom-editor-style.css' ); add_editor_style( 'css/custom-editor-style.min.css' );
} }
add_action( 'admin_init', 'understrap_wpdocs_theme_add_editor_styles' ); add_action( 'admin_init', 'understrap_wpdocs_theme_add_editor_styles' );