Fix product editor images block (#40356)
* Enqueue media utils which are required for images block * Add changelog
This commit is contained in:
parent
e0c44f07fb
commit
bdbd590819
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: fix
|
||||
|
||||
Enqueue media scripts for Images block within the product editor, as is required for Images block.
|
|
@ -100,6 +100,7 @@ class Init {
|
|||
'before'
|
||||
);
|
||||
wp_tinymce_inline_scripts();
|
||||
wp_enqueue_media();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue