@groovymedia/easy-email-extensions 4.14.8 → 4.14.9
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 +5 -1
- package/lib/index2.js.map +1 -1
- package/package.json +1 -1
package/lib/index2.js
CHANGED
|
@@ -35019,6 +35019,10 @@ const HtmlEditor = (props) => {
|
|
|
35019
35019
|
useEffect(() => {
|
|
35020
35020
|
setContent(focusBlock2 == null ? void 0 : focusBlock2.data.value.content);
|
|
35021
35021
|
}, [focusBlock2 == null ? void 0 : focusBlock2.data.value.content]);
|
|
35022
|
+
const onReset = () => {
|
|
35023
|
+
setContent(focusBlock2 == null ? void 0 : focusBlock2.data.value.content);
|
|
35024
|
+
onClose();
|
|
35025
|
+
};
|
|
35022
35026
|
const onClose = () => {
|
|
35023
35027
|
setVisible(false);
|
|
35024
35028
|
};
|
|
@@ -35051,7 +35055,7 @@ const HtmlEditor = (props) => {
|
|
|
35051
35055
|
variation: "strong",
|
|
35052
35056
|
size: "large"
|
|
35053
35057
|
}, t("Html")), /* @__PURE__ */ React__default.createElement(Stack$4, null, /* @__PURE__ */ React__default.createElement(Button$4, {
|
|
35054
|
-
onClick:
|
|
35058
|
+
onClick: onReset
|
|
35055
35059
|
}, t("Cancel")), /* @__PURE__ */ React__default.createElement(Button$4, {
|
|
35056
35060
|
type: "primary",
|
|
35057
35061
|
onClick: onSave
|