@innovastudio/contentbuilder 1.1.21 → 1.1.22

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/contentbuilder",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "public/contentbuilder/contentbuilder.esm.js",
@@ -4738,8 +4738,8 @@ class Util {
4738
4738
 
4739
4739
  let builderActive = document.querySelector('.builder-active');
4740
4740
  if (builderActive) this.builder.applyBehaviorOn(builderActive);
4741
- cellElement = rowElement.childNodes[0];
4742
- cellElement.click(); //change active block to the newly created
4741
+ cellElement = rowElement.querySelector('div');
4742
+ if (cellElement) cellElement.click(); //change active block to the newly created
4743
4743
  // Change to row selection
4744
4744
 
4745
4745
  rowElement.className = rowElement.className.replace('row-outline', ''); // columnTool = parent.document.querySelector('.is-column-tool');