@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
|
@@ -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
|
}
|