@social-mail/social-mail-client 1.2.415 → 1.2.417
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 +4 -1
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/site-editor/properties/groups/AttributeEditor.d.ts.map +1 -1
- package/dist/site-editor/properties/groups/AttributeEditor.js +3 -0
- package/dist/site-editor/properties/groups/AttributeEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +4 -1
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/HtmlPageEditor.tsx +1 -1
- package/src/site-editor/properties/groups/AttributeEditor.tsx +3 -0
package/package.json
CHANGED
|
@@ -589,6 +589,7 @@ export default class HtmlPageEditor extends AtomControl {
|
|
|
589
589
|
this.redoList.clear();
|
|
590
590
|
const lastHtml = this.lastHtml;
|
|
591
591
|
const clone = this.htmlDocument.documentElement.cloneNode(true) as HTMLElement;
|
|
592
|
+
const currentHtml = clone.innerHTML;
|
|
592
593
|
const body = clone.querySelector("body");
|
|
593
594
|
body.removeAttribute("contentEditable");
|
|
594
595
|
body.removeAttribute("editing");
|
|
@@ -633,7 +634,6 @@ export default class HtmlPageEditor extends AtomControl {
|
|
|
633
634
|
}
|
|
634
635
|
}
|
|
635
636
|
}
|
|
636
|
-
const currentHtml = clone.innerHTML;
|
|
637
637
|
if (!lastHtml) {
|
|
638
638
|
this.lastHtml = currentHtml;
|
|
639
639
|
this.lastCommittedHtml = clone.outerHTML;
|
|
@@ -5,6 +5,9 @@ export default function AttributeEditor() {
|
|
|
5
5
|
return <ExpanderPropertyEditor
|
|
6
6
|
isExpanded={true}
|
|
7
7
|
label="Attributes">
|
|
8
|
+
<TextProperty
|
|
9
|
+
label="Language"
|
|
10
|
+
attributeName="lang"/>
|
|
8
11
|
<TextProperty
|
|
9
12
|
label="Link"
|
|
10
13
|
style-display={BindEditor.oneWay((x) => x.selection.name === "a")}
|