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:
Nathan Silveira 2024-04-19 13:47:13 -03:00 committed by GitHub
parent d21b03588a
commit ea96bea77e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -115,6 +115,9 @@ class Init {
);
wp_tinymce_inline_scripts();
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' );
}
/**