@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/dist/site-editor/editor/ui/SelectionUI.js +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +4 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/pages/websites/studio/layers/StudioLayers.d.ts.map +1 -1
- package/dist/site-editor-app/pages/websites/studio/layers/StudioLayers.js +3 -0
- package/dist/site-editor-app/pages/websites/studio/layers/StudioLayers.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/ui/SelectionUI.tsx +1 -1
- package/src/site-editor-app/pages/websites/studio/layers/StudioLayers.tsx +4 -0
package/package.json
CHANGED
|
@@ -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);
|