@social-mail/social-mail-client 1.2.46 → 1.2.47

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.
@@ -39363,7 +39363,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
39363
39363
  this.undoList.add(this.lastHtml);
39364
39364
  this.lastHtml = currentHtml;
39365
39365
  this.element.dispatchEvent(new CustomEvent("htmlPageChanged", {
39366
- detail: currentHtml,
39366
+ detail: clone.outerHTML,
39367
39367
  bubbles: true
39368
39368
  }));
39369
39369
  AtomBinder.refreshValue(this, "htmlPage");
@@ -40104,7 +40104,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
40104
40104
  }
40105
40105
  savePage() {
40106
40106
  return __awaiter(this, void 0, void 0, function* () {
40107
- const content = new File([this.pageContent], this.selectedFile.name, {
40107
+ const html = `<!DOCTYPE html>${this.pageContent}`;
40108
+ const content = new File([html], this.selectedFile.name, {
40108
40109
  type: this.selectedFile.contentType
40109
40110
  });
40110
40111
  const result = yield this.cloudFileService.saveFile({