Canard: Fix editor block styles (#4797)

* Canard: Fix editor block styles

* Canard: Change the order of editor block styles
This commit is contained in:
Daniel Dudzic 2021-10-13 13:55:48 +02:00 committed by GitHub
parent ce13a6948c
commit 244d67830d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,6 +305,7 @@ add_action( 'wp_enqueue_scripts', 'canard_scripts' );
* Gutenberg Editor Styles * Gutenberg Editor Styles
*/ */
function canard_editor_styles() { function canard_editor_styles() {
wp_enqueue_style( 'canard-block-style', get_template_directory_uri() . '/blocks.css' );
wp_enqueue_style( 'canard-editor-block-style', get_template_directory_uri() . '/editor-blocks.css' ); wp_enqueue_style( 'canard-editor-block-style', get_template_directory_uri() . '/editor-blocks.css' );
wp_enqueue_style( 'canard-pt-serif-playfair-display', canard_pt_serif_playfair_display_font_url() ); wp_enqueue_style( 'canard-pt-serif-playfair-display', canard_pt_serif_playfair_display_font_url() );
wp_enqueue_style( 'canard-lato-inconsolata', canard_lato_inconsolata_fonts_url() ); wp_enqueue_style( 'canard-lato-inconsolata', canard_lato_inconsolata_fonts_url() );