@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.2.415",
3
+ "version": "1.2.417",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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")}