pds-dev-kit-web-test 2.5.296 → 2.5.298

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.
@@ -1036,12 +1036,11 @@ var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
1036
1036
  width: '100%',
1037
1037
  height: '100%'
1038
1038
  }, onClick: function (e) {
1039
- var _a;
1040
1039
  e.stopPropagation();
1041
- var target = e.target;
1042
- console.dir(target);
1043
- if ((_a = target.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains('not-editable-grid-item')) {
1044
- return;
1040
+ if (editingGroupBlock !== 'ROOT') {
1041
+ if ((0, group_1.findDirectChildrenCbIds)(newblock, editingGroupBlock).includes(matchedCB.id)) {
1042
+ return;
1043
+ }
1045
1044
  }
1046
1045
  if (isInBulk) {
1047
1046
  clickOneCBInBulk(matchedCB.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.296",
3
+ "version": "2.5.298",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",