@social-mail/social-mail-client 1.2.221 → 1.2.222
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/dist/admin/AdminAppIndex.pack.js +5 -0
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js +5 -0
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +5 -0
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/HtmlPageEditor.tsx +4 -0
|
@@ -47697,9 +47697,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
47697
47697
|
return;
|
|
47698
47698
|
}
|
|
47699
47699
|
void this.ready.then(() => {
|
|
47700
|
+
var _a;
|
|
47700
47701
|
const dom = new DOMParser();
|
|
47701
47702
|
const doc = dom.parseFromString(v, "text/html");
|
|
47702
47703
|
let baseElement = doc.querySelector("base");
|
|
47704
|
+
if ((_a = baseElement === null || baseElement === void 0 ? void 0 : baseElement.href) === null || _a === void 0 ? void 0 : _a.startsWith("/api/site/")) {
|
|
47705
|
+
baseElement.remove();
|
|
47706
|
+
baseElement = null;
|
|
47707
|
+
}
|
|
47703
47708
|
if (baseElement) {
|
|
47704
47709
|
const href = baseElement.getAttribute("href");
|
|
47705
47710
|
if (href !== this.baseUrl) {
|