Fix product editor images block (#40356)

* Enqueue media utils which are required for images block

* Add changelog
This commit is contained in:
louwie17 2023-09-21 16:14:11 -03:00 committed by GitHub
parent e0c44f07fb
commit bdbd590819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: fix
Enqueue media scripts for Images block within the product editor, as is required for Images block.

View File

@ -100,6 +100,7 @@ class Init {
'before' 'before'
); );
wp_tinymce_inline_scripts(); wp_tinymce_inline_scripts();
wp_enqueue_media();
} }
/** /**