easy-email-pro-editor 1.38.5 → 1.38.7
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.
|
@@ -11,7 +11,7 @@ var p = (t, r, e) => r in t ? f(t, r, { enumerable: !0, configurable: !0, writab
|
|
|
11
11
|
};
|
|
12
12
|
import o, { useRef as C, useCallback as d, useMemo as a } from "react";
|
|
13
13
|
import { Slate as L, Editable as O } from "slate-react";
|
|
14
|
-
import { E as R, L as w } from "./index-
|
|
14
|
+
import { E as R, L as w } from "./index-ed2fe224.js";
|
|
15
15
|
import { createEditor as g } from "slate";
|
|
16
16
|
import { isEqual as h } from "lodash";
|
|
17
17
|
import { EditorAuth as B } from "easy-email-pro-core";
|
|
@@ -1628,12 +1628,12 @@ const rg = () => /* @__PURE__ */ A.createElement(
|
|
|
1628
1628
|
)
|
|
1629
1629
|
)
|
|
1630
1630
|
), ag = A.lazy(
|
|
1631
|
-
() => import("./index-
|
|
1631
|
+
() => import("./index-d727f37e.js")
|
|
1632
1632
|
), ng = () => {
|
|
1633
1633
|
const e = Du();
|
|
1634
1634
|
return V(() => e.headerElement ? /* @__PURE__ */ A.createElement(ag, { element: e.headerElement }) : null, [e.headerElement]);
|
|
1635
1635
|
}, ig = A.lazy(
|
|
1636
|
-
() => import("./index-
|
|
1636
|
+
() => import("./index-d727f37e.js")
|
|
1637
1637
|
), sg = () => {
|
|
1638
1638
|
const e = Du();
|
|
1639
1639
|
return V(() => e.footerElement ? /* @__PURE__ */ A.createElement(ig, { element: e.footerElement }) : null, [e.footerElement]);
|
|
@@ -6745,10 +6745,16 @@ const qg = (e) => {
|
|
|
6745
6745
|
const { mergetagsData: u } = ds();
|
|
6746
6746
|
return V(() => {
|
|
6747
6747
|
let a = e.attributes.src;
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6748
|
+
if (sa.isVariable(a))
|
|
6749
|
+
try {
|
|
6750
|
+
a = sa.renderWithData(a, u || {}) || Ol({
|
|
6751
|
+
title: Cr("Dynamically Generated"),
|
|
6752
|
+
description: Cr("This image will be dynamically generated")
|
|
6753
|
+
});
|
|
6754
|
+
} catch (s) {
|
|
6755
|
+
console.error(s);
|
|
6756
|
+
}
|
|
6757
|
+
return /* @__PURE__ */ A.createElement("img", z(y({}, e.attributes), { src: a }));
|
|
6752
6758
|
}, [u, e.attributes]);
|
|
6753
6759
|
}, Wg = (e) => {
|
|
6754
6760
|
const u = nt(), a = ve(
|
|
@@ -13893,10 +13899,16 @@ const uT = (e) => {
|
|
|
13893
13899
|
const { mergetagsData: u } = ds();
|
|
13894
13900
|
return V(() => {
|
|
13895
13901
|
let a = e.attributes.src;
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
|
|
13902
|
+
if (sa.isVariable(a))
|
|
13903
|
+
try {
|
|
13904
|
+
a = sa.renderWithData(a, u || {}) || Ol({
|
|
13905
|
+
title: Cr("Dynamically Generated"),
|
|
13906
|
+
description: Cr("This image will be dynamically generated")
|
|
13907
|
+
});
|
|
13908
|
+
} catch (s) {
|
|
13909
|
+
console.error(s);
|
|
13910
|
+
}
|
|
13911
|
+
return /* @__PURE__ */ A.createElement("img", z(y({}, e.attributes), { src: a }));
|
|
13900
13912
|
}, [u, e.attributes]);
|
|
13901
13913
|
};
|
|
13902
13914
|
class rT extends Ug {
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as l, C as n, p, q as c, b as u, a as E, H as g, I as v, r as P, s as C, T as f, d as D, g as I, f as S, i as T, c as x, e as F, t as b, m as A, u as M, l as N, j as h, n as k, o as q, k as y, h as H, v as O } from "./index-
|
|
1
|
+
import { A as l, C as n, p, q as c, b as u, a as E, H as g, I as v, r as P, s as C, T as f, d as D, g as I, f as S, i as T, c as x, e as F, t as b, m as A, u as M, l as N, j as h, n as k, o as q, k as y, h as H, v as O } from "./index-ed2fe224.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import "slate-history";
|
|
4
4
|
import "slate-react";
|