@foodpilot/foods 0.3.89 → 0.3.90
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/dist/main.js
CHANGED
|
@@ -84519,9 +84519,10 @@ const Mge = z(Q)(({ theme: e }) => ({
|
|
|
84519
84519
|
onChange: e,
|
|
84520
84520
|
displayOutput: t = !1,
|
|
84521
84521
|
placeholder: n = "",
|
|
84522
|
-
initialContent: o = ""
|
|
84522
|
+
initialContent: o = "",
|
|
84523
|
+
value: r = ""
|
|
84523
84524
|
}) => {
|
|
84524
|
-
const
|
|
84525
|
+
const i = dhe({
|
|
84525
84526
|
extensions: [
|
|
84526
84527
|
f6e,
|
|
84527
84528
|
// Basic editor features
|
|
@@ -84550,14 +84551,14 @@ const Mge = z(Q)(({ theme: e }) => ({
|
|
|
84550
84551
|
],
|
|
84551
84552
|
content: o,
|
|
84552
84553
|
// Set initial content
|
|
84553
|
-
onUpdate: ({ editor:
|
|
84554
|
-
e == null || e(
|
|
84554
|
+
onUpdate: ({ editor: s }) => {
|
|
84555
|
+
e == null || e(s.getHTML());
|
|
84555
84556
|
}
|
|
84556
84557
|
});
|
|
84557
|
-
return
|
|
84558
|
-
/* @__PURE__ */ f.jsx(Sge, { editor:
|
|
84559
|
-
/* @__PURE__ */ f.jsx(Tge, { editor: r }),
|
|
84560
|
-
/* @__PURE__ */ f.jsx(Oge, { editor:
|
|
84558
|
+
return i ? /* @__PURE__ */ f.jsxs(Mge, { children: [
|
|
84559
|
+
/* @__PURE__ */ f.jsx(Sge, { editor: i }),
|
|
84560
|
+
/* @__PURE__ */ f.jsx(Tge, { editor: i, value: r }),
|
|
84561
|
+
/* @__PURE__ */ f.jsx(Oge, { editor: i, displayOutput: t })
|
|
84561
84562
|
] }) : null;
|
|
84562
84563
|
}, i3 = {
|
|
84563
84564
|
MuiAvatar: {
|