Highlighting text in the product's description of the new product editor is not visible inside editor (#46728)
* Enqueue global presets css while loading the new product editor * Change from gutenberg to wp prefix
This commit is contained in:
parent
d21b03588a
commit
ea96bea77e
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: minor
|
||||||
|
Type: fix
|
||||||
|
|
||||||
|
Highlighting text in the product's description of the new product editor is not visible inside editor
|
|
@ -115,6 +115,9 @@ class Init {
|
||||||
);
|
);
|
||||||
wp_tinymce_inline_scripts();
|
wp_tinymce_inline_scripts();
|
||||||
wp_enqueue_media();
|
wp_enqueue_media();
|
||||||
|
wp_register_style( 'wc-global-presets', false ); // phpcs:ignore
|
||||||
|
wp_add_inline_style( 'wc-global-presets', wp_get_global_stylesheet( array( 'presets' ) ) );
|
||||||
|
wp_enqueue_style( 'wc-global-presets' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue