@social-mail/social-mail-client 1.8.435 → 1.8.437

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.435",
3
+ "version": "1.8.437",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -444,7 +444,7 @@ const eventDoubleClick = (editor: HtmlPageEditor, e: MouseEvent) => {
444
444
  export function SelectionUI() {
445
445
  return <selected-element data-element="selection"
446
446
  tabIndex="-1"
447
- data-edit={BindEditor.oneWay((editor,e) => updateFocus(e, /relative/i.test(editor.selection.parentStyle.position)
447
+ data-edit={BindEditor.oneWay((editor,e) => updateFocus(e, /relative|absolute/i.test(editor.selection.parentStyle.position)
448
448
  && /absolute|fixed/i.test(editor.selection.currentStyle.position) ? "1" : null))}
449
449
  event-pointerdown={BindEditor.event(eventPointerDown as any)}
450
450
  event-keydown={BindEditor.event(eventKeyDown as any)}
@@ -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);