easy-email-extensions 4.16.1 → 4.16.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -36,6 +36,7 @@ export interface ExtensionProps extends BlockLayerProps {
|
|
36
36
|
jsonReadOnly?: boolean;
|
37
37
|
mjmlReadOnly?: boolean;
|
38
38
|
compact?: boolean;
|
39
|
+
showBlockLayer?: boolean;
|
39
40
|
}
|
40
41
|
export declare const ExtensionContext: React.Context<ExtensionProps>;
|
41
42
|
export declare const ExtensionProvider: React.FC<ExtensionProps>;
|
package/lib/index2.js
CHANGED
@@ -47002,7 +47002,7 @@ function EditPanel({
|
|
47002
47002
|
mjmlReadOnly: mjmlReadOnly2
|
47003
47003
|
}) {
|
47004
47004
|
const { height } = useEditorProps();
|
47005
|
-
const { compact = true } = useExtensionProps();
|
47005
|
+
const { compact = true, showBlockLayer = true } = useExtensionProps();
|
47006
47006
|
return /* @__PURE__ */ React__default.createElement(Layout$1.Sider, {
|
47007
47007
|
className: styles$1.blocksPanel,
|
47008
47008
|
style: { paddingRight: 0, minWidth: 360 },
|
@@ -47022,7 +47022,7 @@ function EditPanel({
|
|
47022
47022
|
title: t("Block")
|
47023
47023
|
}, /* @__PURE__ */ React__default.createElement(FullHeightOverlayScrollbars, {
|
47024
47024
|
height: `calc(${height} - 60px)`
|
47025
|
-
}, /* @__PURE__ */ React__default.createElement(Blocks, null))), /* @__PURE__ */ React__default.createElement(TabPane, {
|
47025
|
+
}, /* @__PURE__ */ React__default.createElement(Blocks, null))), showBlockLayer && /* @__PURE__ */ React__default.createElement(TabPane, {
|
47026
47026
|
key: "1",
|
47027
47027
|
title: t("Layer")
|
47028
47028
|
}, /* @__PURE__ */ React__default.createElement(FullHeightOverlayScrollbars, {
|