@social-mail/social-mail-client 1.2.282 → 1.2.284

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.
@@ -46055,6 +46055,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
46055
46055
  e.innerHTML = "";
46056
46056
  for (const iterator of children) {
46057
46057
  iterator.setAttribute("contentEditable", "false");
46058
+ iterator.remove();
46058
46059
  e.appendChild(iterator);
46059
46060
  }
46060
46061
  }
@@ -46764,7 +46765,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
46764
46765
  folder: this.root,
46765
46766
  presenter: Bind.presenter(c => this.htmlEditor = c),
46766
46767
  "event-html-page-changed": ce => this.pageContent = ce.detail,
46767
- htmlPage: Bind.oneWayAsync((s, e, cancelToken) => this.selectedFile ? FetchBuilder.get(this.selectedFile.downloadUrl).cancelToken(cancelToken).responseAsText(true) : void 0)
46768
+ htmlPage: Bind.oneWayAsync((s, e, cancelToken) => this.selectedFile ? this.downloadHtml(this.selectedFile, cancelToken) : void 0)
46768
46769
  }));
46769
46770
  this.footerRenderer = () => XNode.create("div", {
46770
46771
  "data-layout": "command-row",
@@ -46775,6 +46776,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
46775
46776
  }));
46776
46777
  });
46777
46778
  }
46779
+ downloadHtml(file, cancelToken) {
46780
+ return __awaiter(this, void 0, void 0, function* () {
46781
+ const text = yield FetchBuilder.get(file.downloadUrl).cancelToken(cancelToken).responseAsText(true);
46782
+ return text;
46783
+ });
46784
+ }
46778
46785
  createIndexHtml() {
46779
46786
  return __awaiter(this, void 0, void 0, function* () {
46780
46787
  yield PageNavigator.pushPageForResultOrCancel(ChooseWebSiteTemplatePage, this.root);