@ivanholiak/easy-email-extensions 4.16.28 → 4.16.29
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/lib/index2.js +2 -3
- package/lib/index2.js.map +1 -1
- package/package.json +1 -1
package/lib/index2.js
CHANGED
|
@@ -36039,11 +36039,10 @@ function InlineText({ idx, onChange, children }) {
|
|
|
36039
36039
|
}
|
|
36040
36040
|
};
|
|
36041
36041
|
const onDragOver = (e2) => {
|
|
36042
|
-
var _a2
|
|
36042
|
+
var _a2;
|
|
36043
36043
|
const target2 = e2.target;
|
|
36044
36044
|
if (target2 && target2.getAttribute("contenteditable")) {
|
|
36045
|
-
|
|
36046
|
-
if (mergeTagText && (mergeTagText.startsWith("{{") || mergeTagText.includes("{{"))) {
|
|
36045
|
+
if ((_a2 = e2.dataTransfer) == null ? void 0 : _a2.types.includes("text/merge-tag")) {
|
|
36047
36046
|
e2.preventDefault();
|
|
36048
36047
|
e2.dataTransfer.dropEffect = "copy";
|
|
36049
36048
|
}
|