@innovastudio/contentbox 1.6.42 → 1.6.43

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.42",
4
+ "version": "1.6.43",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -52,7 +52,7 @@
52
52
  "ws": "^8.13.0"
53
53
  },
54
54
  "dependencies": {
55
- "@innovastudio/contentbuilder": "^1.5.26",
55
+ "@innovastudio/contentbuilder": "^1.5.27",
56
56
  "js-beautify": "^1.14.0"
57
57
  }
58
58
  }
@@ -113018,6 +113018,7 @@ Add an image for each feature.`, 'Create a new content showcasing a photo galler
113018
113018
  },
113019
113019
  onEditStart: (event, block) => {
113020
113020
  let activeBlock = this.doc.querySelector('.is-block.cloned');
113021
+ if (!activeBlock) activeBlock = this.doc.querySelector('.is-block.active');
113021
113022
  if (!activeBlock) return;
113022
113023
  const container = activeBlock.querySelector('.is-container');
113023
113024
  if (!container) return;