unfortunately I can test this in dev...
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 48s

This commit is contained in:
2025-06-10 21:41:57 +02:00
parent f38f6ce270
commit 41d7d4ffc6

View File

@@ -1,3 +1,10 @@
(function waitForCMSAndReact() {
if (!(window.CMS && window.React)) {
setTimeout(waitForCMSAndReact, 50);
return;
}
const React = window.React;
class PrefixedImageControl extends React.Component {
openMediaLibrary = () => {
this.props.mediaLibrary.open({
@@ -45,3 +52,4 @@ window.CMS.registerWidget(
PrefixedImageWidget.controlComponent,
PrefixedImageWidget.previewComponent
);
})();