@innovastudio/contentbox 1.6.83 → 1.6.85

Sign up to get free protection for your applications and to get access to all the features.
package/index.d.ts CHANGED
@@ -341,6 +341,6 @@ declare class ContentBox {
341
341
  viewHtml(): void;
342
342
  toggleEditPanel(): void;
343
343
 
344
- screenMode: boolean;
344
+ screenMode: string;
345
345
  }
346
346
  export default ContentBox;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.83",
4
+ "version": "1.6.85",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "types": "index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "ws": "^8.13.0"
55
55
  },
56
56
  "dependencies": {
57
- "@innovastudio/contentbuilder": "^1.5.69",
57
+ "@innovastudio/contentbuilder": "^1.5.70",
58
58
  "js-beautify": "^1.14.0",
59
59
  "sortablejs": "^1.15.2"
60
60
  }
@@ -108456,6 +108456,7 @@ class Dictation {
108456
108456
  renderPanel() {
108457
108457
  const builderStuff = this.builder.builderStuff;
108458
108458
  this.builderStuff = builderStuff;
108459
+ if (builderStuff.querySelector('.page-command')) return;
108459
108460
  const util = this.builder.util;
108460
108461
  this.util = util;
108461
108462
  let disclaimerText = util.out('AI-Disclaimer');
@@ -160471,10 +160472,12 @@ Add an image for each feature.`, 'Create a new block showcasing a photo gallery
160471
160472
 
160472
160473
  const btnRedesign = box.querySelector('.input-box-redesign');
160473
160474
  if (btnRedesign) btnRedesign.addEventListener('click', () => {
160475
+ this.editor.dictation.renderPanel();
160474
160476
  this.command.redesign();
160475
160477
  });
160476
160478
  const btnRewrite = box.querySelector('.input-box-rewrite');
160477
160479
  if (btnRewrite) btnRewrite.addEventListener('click', () => {
160480
+ this.editor.dictation.renderPanel();
160478
160481
  this.command.rewrite();
160479
160482
  });
160480
160483
  const btnAIMore = box.querySelector('.input-box-more');