@social-mail/social-mail-client 1.2.419 → 1.2.421

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.
@@ -41459,9 +41459,6 @@ System.register([], function (_export, _context) {
41459
41459
  dropTarget.clear();
41460
41460
  setTimeout(() => document.body.contentEditable = "true", 0);
41461
41461
  });
41462
- setTimeout(() => {
41463
- document.body.querySelectorAll("*").forEach(e => e.draggable = true);
41464
- }, 100);
41465
41462
  }
41466
41463
  _export("InstallDragDropHelper", InstallDragDropHelper);
41467
41464
  return {
@@ -46220,7 +46217,13 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
46220
46217
  }
46221
46218
  }), XNode.create("i", {
46222
46219
  "event-click": () => {
46223
- this.selection.element.draggable = true;
46220
+ const current = this.selection.element;
46221
+ current.draggable = true;
46222
+ setTimeout(() => {
46223
+ if (current.draggable) {
46224
+ current.removeAttribute("draggable");
46225
+ }
46226
+ }, 5000);
46224
46227
  },
46225
46228
  class: "fa-solid fa-up-down-left-right",
46226
46229
  "data-click-event": "start-drag"
@@ -46438,8 +46441,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
46438
46441
  setSelection(element, commit = true) {
46439
46442
  var _a;
46440
46443
  const old = (_a = this.selection) === null || _a === void 0 ? void 0 : _a.element;
46441
- if (old) {
46442
- old.draggable = false;
46444
+ if (old === null || old === void 0 ? void 0 : old.draggable) {
46445
+ old.removeAttribute("draggable");
46443
46446
  }
46444
46447
  this.selection.update(element);
46445
46448
  if (commit) {