@flozy/editor 3.4.3 → 3.4.5
Sign up to get free protection for your applications and to get access to all the features.
@@ -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,
|