@social-mail/social-mail-client 1.8.436 → 1.8.438

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.8.436",
3
+ "version": "1.8.438",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -153,10 +153,8 @@ const beginDrag = (direction: string, editor: HtmlPageEditor, element: HTMLEleme
153
153
  selectedElement.style.removeProperty("height");
154
154
 
155
155
  selectedElement.setAttribute(insetAttribute, inset);
156
- if (newWidth) {
156
+ if (resized) {
157
157
  selectedElement.setAttribute(widthAttribute, newWidth);
158
- }
159
- if (newHeight) {
160
158
  selectedElement.setAttribute(heightAttribute, newHeight);
161
159
  }
162
160
 
@@ -143,6 +143,10 @@ export default class StudioLayers extends AtomControl {
143
143
  e[treeElement] = root;
144
144
  this.updateProperties(root, e);
145
145
 
146
+ if (e.tagName === "INJECT") {
147
+ return;
148
+ }
149
+
146
150
  for (const child of ChildEnumerator.enumerate(e)) {
147
151
  const node = document.createElement("tree-element") as TreeElement;
148
152
  this.syncItems(node, child);