@innovastudio/contentbox 1.6.16 → 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.16",
4
+ "version": "1.6.17",
5
5
  "description": "",
6
6
  "main": "public/contentbox/contentbox.esm.js",
7
7
  "files": [
@@ -131903,7 +131903,9 @@ Add an image for each feature.`, 'Revise the headline, paragraph, and all the te
131903
131903
  clear() {
131904
131904
  this.editor.util.confirm(out('Are you sure you want to clear the page content?'), ok => {
131905
131905
  if (ok) {
131906
+ this.editor.saveForUndo();
131906
131907
  this.loadHtml('');
131908
+ this.settings.onChange();
131907
131909
  }
131908
131910
  }, true, out('Clear'), true); //true => force open
131909
131911
  }