@social-mail/social-mail-client 1.9.2 → 1.9.3

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.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -876,6 +876,14 @@ export default class HtmlPageEditor extends AtomControl {
876
876
  node.removeAttribute(attributeName);
877
877
  continue;
878
878
  }
879
+
880
+ if (attributeName.includes("-desktop-")) {
881
+ const a = attributeName.replace("-desktop-", "-");
882
+ node.removeAttribute(attributeName);
883
+ node.setAttribute(a, av);
884
+ continue;
885
+ }
886
+
879
887
  const s = editorSuggestions[attributeName] as { label: string, value: string }[];
880
888
  if (s) {
881
889
  const cv = s.find((x) => x.label === av);