@elementor/editor-editing-panel 3.33.0-189 → 3.33.0-191
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +19 -19
- package/src/hooks/use-computed-style.ts +1 -4
package/dist/index.js
CHANGED
|
@@ -2952,8 +2952,7 @@ function useComputedStyle(elementId) {
|
|
|
2952
2952
|
if (!elementId) {
|
|
2953
2953
|
return null;
|
|
2954
2954
|
}
|
|
2955
|
-
const
|
|
2956
|
-
const element = extendedWindow.elementor?.getContainer?.(elementId);
|
|
2955
|
+
const element = window.elementor?.getContainer?.(elementId);
|
|
2957
2956
|
if (!element?.view?.el) {
|
|
2958
2957
|
return null;
|
|
2959
2958
|
}
|