@flozy/editor 3.4.4 → 3.4.5
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.
@@ -27,7 +27,8 @@ const Form = props => {
|
|
27
27
|
site_id,
|
28
28
|
page_id,
|
29
29
|
onFormSubmit = () => {},
|
30
|
-
tagName = "Pages"
|
30
|
+
tagName = "Pages",
|
31
|
+
isIframe = false
|
31
32
|
} = customProps;
|
32
33
|
const {
|
33
34
|
buttonProps,
|
@@ -406,7 +407,7 @@ const Form = props => {
|
|
406
407
|
element: element,
|
407
408
|
closeWorkflow: closeWorkflow,
|
408
409
|
onSave: onSave
|
409
|
-
}), !readOnly ? /*#__PURE__*/_jsxs(Menu, {
|
410
|
+
}), !readOnly && !isIframe ? /*#__PURE__*/_jsxs(Menu, {
|
410
411
|
className: "editor-btn-options",
|
411
412
|
open: anchorEl !== null,
|
412
413
|
anchorEl: anchorEl,
|