@social-mail/social-mail-client 1.2.719 → 1.2.721
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/site-editor/editor/WebSitePageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js +2 -15
- package/dist/site-editor/editor/WebSitePageEditor.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +2 -15
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/WebSitePageEditor.tsx +0 -12
package/package.json
CHANGED
|
@@ -207,18 +207,6 @@ export default class WebSitePageEditor extends HtmlPageEditor {
|
|
|
207
207
|
|
|
208
208
|
await Promise.all(pending.map((x) => x()));
|
|
209
209
|
|
|
210
|
-
let script = doc.querySelector("script[web-components]");
|
|
211
|
-
if (!script) {
|
|
212
|
-
script = doc.createElement("script");
|
|
213
|
-
script.setAttribute("web-components", "social");
|
|
214
|
-
script.setAttribute("async", "true");
|
|
215
|
-
script.setAttribute("defer", "true");
|
|
216
|
-
doc.head.appendChild(doc.createTextNode("\n"));
|
|
217
|
-
doc.head.appendChild(script);
|
|
218
|
-
doc.head.appendChild(doc.createTextNode("\n"));
|
|
219
|
-
}
|
|
220
|
-
script.setAttribute("src", `${WebComponents.path}/dist/main.js`);
|
|
221
|
-
|
|
222
210
|
// install free fa script...
|
|
223
211
|
const start = "https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free";
|
|
224
212
|
if(!Array.from(doc.querySelectorAll(`link[rel=stylesheet]`)).find((x) => x.getAttribute("href").startsWith(start))) {
|