@social-mail/social-mail-client 1.2.284 → 1.2.285
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 +3 -1
- 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/WebSitePageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js +3 -1
- package/dist/site-editor/editor/WebSitePageEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +3 -1
- 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/WebSitePageEditor.tsx +3 -1
package/package.json
CHANGED
|
@@ -135,7 +135,9 @@ export default class WebSitePageEditor extends HtmlPageEditor {
|
|
|
135
135
|
const parser = new DOMParser();
|
|
136
136
|
const dom = parser.parseFromString(text, "text/html");
|
|
137
137
|
const children = Array.from(dom.body.children);
|
|
138
|
-
e.
|
|
138
|
+
for (const iterator of Array.from(e.children)) {
|
|
139
|
+
iterator.remove();
|
|
140
|
+
}
|
|
139
141
|
for (const iterator of children) {
|
|
140
142
|
iterator.setAttribute("contentEditable", "false");
|
|
141
143
|
iterator.remove();
|