Browse Source

Blockbase: Load editor styles for blockbase before those of the child theme (#4377)

* Blockbase: Load editor styles for blockbase before those of the child theme

* Remove var_dumps
Ben Dwyer 4 years ago
parent
commit
e5113f1ad6
2 changed files with 1 additions and 3 deletions
  1. 1 2
      blockbase/functions.php
  2. 0 1
      skatepark/functions.php

+ 1 - 2
blockbase/functions.php

@@ -1,7 +1,6 @@
 <?php
 <?php
 if ( ! function_exists( 'blockbase_support' ) ) :
 if ( ! function_exists( 'blockbase_support' ) ) :
 	function blockbase_support() {
 	function blockbase_support() {
-
 		// Alignwide and alignfull classes in the block editor.
 		// Alignwide and alignfull classes in the block editor.
 		add_theme_support( 'align-wide' );
 		add_theme_support( 'align-wide' );
 
 
@@ -39,7 +38,7 @@ if ( ! function_exists( 'blockbase_support' ) ) :
 		);
 		);
 
 
 	}
 	}
-	add_action( 'after_setup_theme', 'blockbase_support' );
+	add_action( 'after_setup_theme', 'blockbase_support', 9 );
 endif;
 endif;
 
 
 /**
 /**

+ 0 - 1
skatepark/functions.php

@@ -3,7 +3,6 @@
 
 
 if ( ! function_exists( 'skatepark_support' ) ) :
 if ( ! function_exists( 'skatepark_support' ) ) :
 	function skatepark_support() {
 	function skatepark_support() {
-
 		// Enqueue editor styles.
 		// Enqueue editor styles.
 		add_editor_style(
 		add_editor_style(
 			array(
 			array(