@elementor/editor-components 3.35.0-440 → 3.35.0-442
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 +16 -17
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +22 -22
- package/src/hooks/use-canvas-document.ts +5 -2
package/dist/index.mjs
CHANGED
|
@@ -3173,8 +3173,11 @@ import { createPortal } from "react-dom";
|
|
|
3173
3173
|
import { __ as __23 } from "@wordpress/i18n";
|
|
3174
3174
|
|
|
3175
3175
|
// src/hooks/use-canvas-document.ts
|
|
3176
|
-
import {
|
|
3177
|
-
|
|
3176
|
+
import {
|
|
3177
|
+
__privateUseListenTo as useListenTo,
|
|
3178
|
+
commandEndEvent,
|
|
3179
|
+
getCanvasIframeDocument
|
|
3180
|
+
} from "@elementor/editor-v1-adapters";
|
|
3178
3181
|
function useCanvasDocument() {
|
|
3179
3182
|
return useListenTo(commandEndEvent("editor/documents/attach-preview"), () => getCanvasIframeDocument());
|
|
3180
3183
|
}
|