@innovastudio/contentbuilder 1.5.177 → 1.5.179

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.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbuilder",
3
- "version": "1.5.177",
3
+ "type": "module",
4
+ "version": "1.5.179",
4
5
  "description": "",
5
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
6
7
  "types": "index.d.ts",
@@ -63432,7 +63432,7 @@ class ElementTool {
63432
63432
  }
63433
63433
  let subblock = false;
63434
63434
  //if(dom.parentsHasAttribute(elm, 'data-subblock')) {
63435
- if (dom.parentsHasClass(elm, 'is-subblock')) {
63435
+ if (elm.closest('.is-subblock') && !elm.classList.contains('is-subblock')) {
63436
63436
  subblock = true;
63437
63437
  }
63438
63438
  const plugin = elm.closest('[data-cb-type]');