import { j as o } from "./index.es37.js";
import { lazy as i } from "react";
import a from "./index.es73.js";
/* empty css           */
const n = i(() => import("./index.es72.js").then((e) => e.i)), r = "<p><br></p>", s = "", d = a((e) => /* @__PURE__ */ o.jsx(
  n,
  {
    className: "rich-text-area",
    formats: e.formats,
    modules: e.modules,
    onChange: (t) => {
      let l = t;
      t === r && (l = s), e.onChange(l);
    },
    placeholder: e.placeholder,
    theme: "snow",
    value: e.value
  }
));
d.defaultProps = {
  formats: [
    "header",
    "font",
    "size",
    "bold",
    "italic",
    "underline",
    "strike",
    "blockquote",
    "list",
    "bullet",
    "indent",
    "link",
    "image",
    "video"
  ],
  modules: {
    toolbar: [[{
      header: "1"
    }, {
      header: "2"
    }, {
      font: []
    }], [{
      size: []
    }], [
      "bold",
      "italic",
      "underline",
      "strike",
      "blockquote"
    ], [{
      list: "ordered"
    }, {
      list: "bullet"
    }, {
      indent: "-1"
    }, {
      indent: "+1"
    }], [
      "link",
      "image"
    ], [
      "clean"
    ]],
    clipboard: {
      matchVisual: !1
    }
  },
  placeholder: void 0
};
export {
  d as default
};
//# sourceMappingURL=index.es8.js.map
