easy-email-extensions 4.3.2 → 4.3.4
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 +17 -3
- package/lib/index2.js.map +1 -1
- package/package.json +2 -2
package/lib/index2.js
CHANGED
@@ -38417,10 +38417,24 @@ function Spacer() {
|
|
38417
38417
|
}
|
38418
38418
|
function Raw() {
|
38419
38419
|
const { focusIdx: focusIdx2 } = useFocusIdx();
|
38420
|
-
|
38421
|
-
|
38420
|
+
const [visible, setVisible] = useState(false);
|
38421
|
+
return /* @__PURE__ */ React__default.createElement(AttributesPanelWrapper, {
|
38422
|
+
style: { padding: 20 },
|
38423
|
+
extra: /* @__PURE__ */ React__default.createElement(Tooltip$1, {
|
38424
|
+
content: "Html mode"
|
38425
|
+
}, /* @__PURE__ */ React__default.createElement(Button$4, {
|
38426
|
+
onClick: () => setVisible(true),
|
38427
|
+
icon: /* @__PURE__ */ React__default.createElement(IconFont, {
|
38428
|
+
iconName: "icon-html"
|
38429
|
+
})
|
38430
|
+
}))
|
38431
|
+
}, /* @__PURE__ */ React__default.createElement(TextAreaField, {
|
38432
|
+
label: "",
|
38422
38433
|
name: `${focusIdx2}.data.value.content`,
|
38423
|
-
|
38434
|
+
rows: 5
|
38435
|
+
}), /* @__PURE__ */ React__default.createElement(HtmlEditor, {
|
38436
|
+
visible,
|
38437
|
+
setVisible
|
38424
38438
|
}));
|
38425
38439
|
}
|
38426
38440
|
const positionOptions = [
|