@elia-ori/editor 0.1.3 → 0.1.5
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/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/styles/editor.css +13 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4935,8 +4935,8 @@ function EliaEditor({
|
|
|
4935
4935
|
editor.setEditable(!readOnly);
|
|
4936
4936
|
}
|
|
4937
4937
|
}, [readOnly, editor]);
|
|
4938
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: cn("
|
|
4939
|
-
header && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "
|
|
4938
|
+
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: cn("ori-editor", className), children: [
|
|
4939
|
+
header && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "ori-editor-header", children: header }),
|
|
4940
4940
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
4941
4941
|
Toolbar,
|
|
4942
4942
|
{
|
|
@@ -4950,7 +4950,7 @@ function EliaEditor({
|
|
|
4950
4950
|
}
|
|
4951
4951
|
),
|
|
4952
4952
|
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_react4.EditorContent, { editor }),
|
|
4953
|
-
footer && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "
|
|
4953
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "ori-editor-footer", children: footer })
|
|
4954
4954
|
] });
|
|
4955
4955
|
}
|
|
4956
4956
|
// Annotate the CommonJS export names for ESM import in node:
|