easy-email-pro-theme 1.57.5 → 1.57.6
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/lib/index.js +6 -2
- package/lib/typings/constants/index.d.ts +1 -0
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -15293,6 +15293,7 @@ const getElementPageLayout = (params) => {
|
|
|
15293
15293
|
};
|
|
15294
15294
|
};
|
|
15295
15295
|
const EDITOR_CONTAINER = "EditorContainer";
|
|
15296
|
+
const EDITOR_LAYOUT = "easy-email-pro-editor-layout";
|
|
15296
15297
|
const HoveringToolbar = () => {
|
|
15297
15298
|
const ref = useRef(null);
|
|
15298
15299
|
const editor = useSlate();
|
|
@@ -33162,14 +33163,16 @@ const Page$1 = ({ nodePath }) => {
|
|
|
33162
33163
|
{
|
|
33163
33164
|
label: t("Template background"),
|
|
33164
33165
|
path: nodePath,
|
|
33165
|
-
name: "attributes.background-color"
|
|
33166
|
+
name: "attributes.background-color",
|
|
33167
|
+
getPopupContainer: () => document.getElementById(EDITOR_LAYOUT) || document.body
|
|
33166
33168
|
}
|
|
33167
33169
|
), /* @__PURE__ */ React__default.createElement(
|
|
33168
33170
|
AttributeField.BackgroundColor,
|
|
33169
33171
|
{
|
|
33170
33172
|
label: t("Content background"),
|
|
33171
33173
|
path: nodePath,
|
|
33172
|
-
name: "attributes.content-background-color"
|
|
33174
|
+
name: "attributes.content-background-color",
|
|
33175
|
+
getPopupContainer: () => document.getElementById(EDITOR_LAYOUT) || document.body
|
|
33173
33176
|
}
|
|
33174
33177
|
), /* @__PURE__ */ React__default.createElement(AttributeField.Width, { path: nodePath, name: "attributes.width" }), /* @__PURE__ */ React__default.createElement(
|
|
33175
33178
|
AttributeField.PixelField,
|
|
@@ -41821,6 +41824,7 @@ const Layout$1 = ({ children, footer, header, tabLeft, tabRight }) => {
|
|
|
41821
41824
|
return /* @__PURE__ */ React__default.createElement(SharedComponents.StandaloneElementEditorDrawer, null, /* @__PURE__ */ React__default.createElement(SharedComponents.UniversalElementEditorDrawer, null, /* @__PURE__ */ React__default.createElement(
|
|
41822
41825
|
Card,
|
|
41823
41826
|
{
|
|
41827
|
+
id: EDITOR_LAYOUT,
|
|
41824
41828
|
style: { padding: 0, border: "none" },
|
|
41825
41829
|
bodyStyle: { padding: 0, overflow: "hidden" }
|
|
41826
41830
|
},
|