@anu3ev/fabric-image-editor 0.1.63 → 0.1.64

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.
Files changed (2) hide show
  1. package/dist/main.js +3 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -688,7 +688,9 @@ class Je {
688
688
  d.innerHTML = i[n] ? `<img src="${i[n]}" title="${s}" />` : s, Object.assign(d.style, a), d.onclick = () => {
689
689
  var c;
690
690
  return (c = o[n]) == null ? void 0 : c.call(o, this.editor);
691
- }, this.el.appendChild(d);
691
+ }, d.onmousedown = (c) => {
692
+ c.stopPropagation(), c.preventDefault();
693
+ }, d.ondragstart = (c) => c.preventDefault(), this.el.appendChild(d);
692
694
  }
693
695
  }
694
696
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anu3ev/fabric-image-editor",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "description": "JavaScript image editor built on FabricJS, allowing you to create instances with an integrated montage area and providing an API to modify and manage state.",
5
5
  "module": "dist/main.js",
6
6
  "files": [