@innovastudio/contentbox 1.2.24 → 1.2.25

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,6 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
- "version": "1.2.24",
3
+ "version": "1.2.25",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
@@ -46,7 +46,7 @@
46
46
  "webpack-dev-server": "^4.0.0"
47
47
  },
48
48
  "dependencies": {
49
- "@innovastudio/contentbuilder": "^1.1.21",
49
+ "@innovastudio/contentbuilder": "^1.1.22",
50
50
  "js-beautify": "^1.14.0"
51
51
  }
52
52
  }
@@ -15334,8 +15334,8 @@ class Util {
15334
15334
 
15335
15335
  let builderActive = document.querySelector('.builder-active');
15336
15336
  if (builderActive) this.builder.applyBehaviorOn(builderActive);
15337
- cellElement = rowElement.childNodes[0];
15338
- cellElement.click(); //change active block to the newly created
15337
+ cellElement = rowElement.querySelector('div');
15338
+ if (cellElement) cellElement.click(); //change active block to the newly created
15339
15339
  // Change to row selection
15340
15340
 
15341
15341
  rowElement.className = rowElement.className.replace('row-outline', ''); // columnTool = parent.document.querySelector('.is-column-tool');