Removes unecessary dependency from editor style when loading blocks in theme side.
This commit is contained in:
parent
106fbc54c1
commit
d19ae3e7d7
|
@ -153,7 +153,7 @@ function tainacan_blocks_register_block($block_slug, $options = []) {
|
|||
wp_register_style(
|
||||
$block_slug,
|
||||
$TAINACAN_BASE_URL . '/assets/css/tainacan-gutenberg-block-' . $block_slug . '.css',
|
||||
array('tainacan-blocks-common-editor-styles'),
|
||||
array(),
|
||||
$TAINACAN_VERSION
|
||||
);
|
||||
$register_params['style'] = $block_slug;
|
||||
|
|
Loading…
Reference in New Issue