Skip to content

Commit

Permalink
Blockbase: Load editor styles for blockbase before those of the child…
Browse files Browse the repository at this point in the history
… theme (#4377)

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

* Remove var_dumps
  • Loading branch information
scruffian authored Aug 10, 2021
1 parent 623bca1 commit e5113f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions blockbase/functions.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php
if ( ! function_exists( 'blockbase_support' ) ) :
function blockbase_support() {

// Alignwide and alignfull classes in the block editor.
add_theme_support( 'align-wide' );

Expand Down Expand Up @@ -39,7 +38,7 @@ function blockbase_support() {
);

}
add_action( 'after_setup_theme', 'blockbase_support' );
add_action( 'after_setup_theme', 'blockbase_support', 9 );
endif;

/**
Expand Down
1 change: 0 additions & 1 deletion skatepark/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

if ( ! function_exists( 'skatepark_support' ) ) :
function skatepark_support() {

// Enqueue editor styles.
add_editor_style(
array(
Expand Down

0 comments on commit e5113f1

Please sign in to comment.