@fileverse-dev/ddoc 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/packages/ddoc/types.d.ts +2 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -54422,9 +54422,9 @@ const bQ = async (n, e) => {
|
|
54422
54422
|
/* @__PURE__ */ C.jsx("p", { children: "Loading Editor..." })
|
54423
54423
|
] }) : /* @__PURE__ */ C.jsx("div", { "data-cy": "single-webpage", className: "bg-[#f8f9fa]", children: /* @__PURE__ */ C.jsx("div", { className: "h-full flex flex-col overflow-scroll no-scrollbar", children: /* @__PURE__ */ C.jsxs("div", { className: "w-full h-full", children: [
|
54424
54424
|
/* @__PURE__ */ C.jsx("div", { className: "flex items-center w-full h-16 fixed z-10 px-4 bg-[#f8f9fa]", children: /* @__PURE__ */ C.jsxs("div", { className: "flex items-center justify-between gap-2 w-full", children: [
|
54425
|
-
/* @__PURE__ */ C.jsx("div", { className: "grow", children: a == null ? void 0 : a({ editor: c }) }),
|
54425
|
+
/* @__PURE__ */ C.jsx("div", { className: "grow", children: a == null ? void 0 : a({ editor: c.getJSON() }) }),
|
54426
54426
|
!n && /* @__PURE__ */ C.jsx("div", { className: "grow relative hidden xl:block", children: /* @__PURE__ */ C.jsx(z8, { editor: c }) }),
|
54427
|
-
o == null ? void 0 : o({ editor: c })
|
54427
|
+
o == null ? void 0 : o({ editor: c.getJSON() })
|
54428
54428
|
] }) }),
|
54429
54429
|
/* @__PURE__ */ C.jsx("main", { className: "h-screen lg:h-full w-full rounded-[8px] flex flex-col justify-start items-center gap-2", children: /* @__PURE__ */ C.jsx(
|
54430
54430
|
"div",
|