@innovastudio/contentbox 1.6.15 → 1.6.17

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@innovastudio/contentbox",
3
3
  "type": "module",
4
- "version": "1.6.15",
4
+ "version": "1.6.17",
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.4.136",
55
+ "@innovastudio/contentbuilder": "^1.4.137",
56
56
  "js-beautify": "^1.14.0"
57
57
  }
58
58
  }
@@ -21158,6 +21158,7 @@ class Util$1 {
21158
21158
  e.preventDefault();
21159
21159
  e.stopImmediatePropagation();
21160
21160
  });
21161
+ if (buttonok) buttonok.focus();
21161
21162
  }
21162
21163
  showRtePop(pop, onShow, btn) {
21163
21164
  const dom = this.dom;
@@ -131902,7 +131903,9 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
131902
131903
  clear() {
131903
131904
  this.editor.util.confirm(out('Are you sure you want to clear the page content?'), ok => {
131904
131905
  if (ok) {
131906
+ this.editor.saveForUndo();
131905
131907
  this.loadHtml('');
131908
+ this.settings.onChange();
131906
131909
  }
131907
131910
  }, true, out('Clear'), true); //true => force open
131908
131911
  }