@contentful/experiences-visual-editor-react 1.39.0-alpha-20250603T1404-5a5eb4e.0 → 1.39.0-alpha-20250603T1549-6807858.0
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/renderApp.js +2 -2
- package/dist/renderApp.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -4129,8 +4129,8 @@ const sendCanvasGeometryUpdatedMessage = async (tree, sourceEvent) => {
|
|
|
4129
4129
|
collectNodeCoordinates(tree.root, nodeToCoordinatesMap);
|
|
4130
4130
|
sendMessage(OUTGOING_EVENTS.CanvasGeometryUpdated, {
|
|
4131
4131
|
size: {
|
|
4132
|
-
width: document.documentElement.
|
|
4133
|
-
height: document.documentElement.
|
|
4132
|
+
width: document.documentElement.offsetWidth,
|
|
4133
|
+
height: document.documentElement.offsetHeight,
|
|
4134
4134
|
},
|
|
4135
4135
|
nodes: nodeToCoordinatesMap,
|
|
4136
4136
|
sourceEvent,
|