easy-email-extensions 4.3.2 → 4.3.4

Sign up to get free protection for your applications and to get access to all the features.
package/lib/index2.js CHANGED
@@ -38417,10 +38417,24 @@ function Spacer() {
38417
38417
  }
38418
38418
  function Raw() {
38419
38419
  const { focusIdx: focusIdx2 } = useFocusIdx();
38420
- return /* @__PURE__ */ React__default.createElement(Stack$4, null, /* @__PURE__ */ React__default.createElement(TextField, {
38421
- label: "content",
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
- inline: true
38434
+ rows: 5
38435
+ }), /* @__PURE__ */ React__default.createElement(HtmlEditor, {
38436
+ visible,
38437
+ setVisible
38424
38438
  }));
38425
38439
  }
38426
38440
  const positionOptions = [