@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
|
@@ -43861,9 +43861,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
43861
43861
|
return;
|
|
43862
43862
|
}
|
|
43863
43863
|
void this.ready.then(() => {
|
|
43864
|
+
var _a;
|
|
43864
43865
|
const dom = new DOMParser();
|
|
43865
43866
|
const doc = dom.parseFromString(v, "text/html");
|
|
43866
43867
|
let baseElement = doc.querySelector("base");
|
|
43868
|
+
if ((_a = baseElement === null || baseElement === void 0 ? void 0 : baseElement.href) === null || _a === void 0 ? void 0 : _a.startsWith("/api/site/")) {
|
|
43869
|
+
baseElement.remove();
|
|
43870
|
+
baseElement = null;
|
|
43871
|
+
}
|
|
43867
43872
|
if (baseElement) {
|
|
43868
43873
|
const href = baseElement.getAttribute("href");
|
|
43869
43874
|
if (href !== this.baseUrl) {
|