We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68c120b commit ed59e80Copy full SHA for ed59e80
1 file changed
packages/cgb-scripts/template/src/init.php
@@ -32,7 +32,7 @@ function <% blockNamePHPLower %>_cgb_block_assets() { // phpcs:ignore
32
wp_register_style(
33
'<% blockNamePHPLower %>-cgb-style-css', // Handle.
34
plugins_url( 'dist/blocks.style.build.css', dirname( __FILE__ ) ), // Block style CSS.
35
- array( 'wp-editor' ), // Dependency to include the CSS after it.
+ is_admin() ? array( 'wp-editor' ) : null, // Dependency to include the CSS after it.
36
null // filemtime( plugin_dir_path( __DIR__ ) . 'dist/blocks.style.build.css' ) // Version: File modification time.
37
);
38
0 commit comments