@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.
@@ -279,6 +279,7 @@ const CommonEditor = /*#__PURE__*/forwardRef((props, ref) => {
279
279
  page_id: id,
280
280
  site_id: site_id,
281
281
  page_title: page_title,
282
+ isIframe: isIframe,
282
283
  onDrawerOpen: onDrawerOpen
283
284
  };
284
285
  const renderElement = useCallback(props => {
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flozy/editor",
3
- "version": "3.4.4",
3
+ "version": "3.4.5",
4
4
  "description": "An Editor for flozy app brain",
5
5
  "files": [
6
6
  "dist"