@gem-sdk/core 1.46.0-staging.35 → 1.46.0-staging.36

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.
@@ -76,6 +76,10 @@ const ComponentToolbarPreview = (props)=>{
76
76
  'Article Category',
77
77
  'Article Date'
78
78
  ];
79
+ const editAbleElementList = [
80
+ ...editProductElementList,
81
+ ...editArticleElementList
82
+ ];
79
83
  const isOverToolbarPosition = (el, parent)=>{
80
84
  const parentLength = parents.length;
81
85
  const rect = el.getBoundingClientRect();
@@ -524,7 +528,7 @@ const ComponentToolbarPreview = (props)=>{
524
528
  })
525
529
  })
526
530
  }),
527
- editProductElementList.includes(toolbarName() ?? '') && /*#__PURE__*/ jsxRuntime.jsx(Tooltip.default, {
531
+ editAbleElementList.includes(toolbarName() ?? '') && /*#__PURE__*/ jsxRuntime.jsx(Tooltip.default, {
528
532
  "data-toolbar-title": true,
529
533
  enable: true,
530
534
  "data-toolbar-disable": false,
@@ -72,6 +72,10 @@ const ComponentToolbarPreview = (props)=>{
72
72
  'Article Category',
73
73
  'Article Date'
74
74
  ];
75
+ const editAbleElementList = [
76
+ ...editProductElementList,
77
+ ...editArticleElementList
78
+ ];
75
79
  const isOverToolbarPosition = (el, parent)=>{
76
80
  const parentLength = parents.length;
77
81
  const rect = el.getBoundingClientRect();
@@ -520,7 +524,7 @@ const ComponentToolbarPreview = (props)=>{
520
524
  })
521
525
  })
522
526
  }),
523
- editProductElementList.includes(toolbarName() ?? '') && /*#__PURE__*/ jsx(Tooltip, {
527
+ editAbleElementList.includes(toolbarName() ?? '') && /*#__PURE__*/ jsx(Tooltip, {
524
528
  "data-toolbar-title": true,
525
529
  enable: true,
526
530
  "data-toolbar-disable": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.46.0-staging.35",
3
+ "version": "1.46.0-staging.36",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",