Skip to content

Commit

Permalink
[#150] Fix duplicate editor background
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-viget committed Oct 17, 2024
1 parent f3dd141 commit 462bf22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-content/plugins/acf-blocks-toolkit/includes/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function block_attrs( array $block, string $custom_class = '', array $attrs = []
$attrs['class'] = $block_class;
}

$block_styles = get_core_styles( $block );
$block_styles = ! is_admin() ? get_core_styles( $block ) : '';
if ( ! empty( $attrs['style'] ) ) {
$attrs['style'] .= $block_styles;
} else {
Expand Down

0 comments on commit 462bf22

Please sign in to comment.