sykpcomposer 0.0.31 → 0.0.33
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/README.md +11 -0
- package/dist/index.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# sykpcomposer lexical editor
|
|
2
|
+
|
|
3
|
+
# install package via npm
|
|
4
|
+
npm i sykpcomposer --save
|
|
5
|
+
|
|
6
|
+
# To use the editor in your component import the following
|
|
7
|
+
|
|
8
|
+
import "../../../../../../../node_modules/sykpcomposer/dist/style.css"
|
|
9
|
+
import { Editor } from "sykpcomposer";
|
|
10
|
+
|
|
11
|
+
|
package/dist/index.es.js
CHANGED
|
@@ -5954,7 +5954,7 @@ function Ac() {
|
|
|
5954
5954
|
onClick: () => {
|
|
5955
5955
|
n.dispatchCommand(de, "superscript");
|
|
5956
5956
|
},
|
|
5957
|
-
className: "toolbar-item spaced " + (
|
|
5957
|
+
className: "toolbar-item spaced " + (_ ? "active" : ""),
|
|
5958
5958
|
"aria-label": "Format Subscript",
|
|
5959
5959
|
children: /* @__PURE__ */ A.jsx("img", { src: Oc, height: 16, width: 16, style: { marginTop: "1px" } })
|
|
5960
5960
|
}
|
|
@@ -5965,7 +5965,7 @@ function Ac() {
|
|
|
5965
5965
|
onClick: () => {
|
|
5966
5966
|
n.dispatchCommand(de, "subscript");
|
|
5967
5967
|
},
|
|
5968
|
-
className: "toolbar-item spaced " + (
|
|
5968
|
+
className: "toolbar-item spaced " + (h ? "active" : ""),
|
|
5969
5969
|
"aria-label": "Format Superscript",
|
|
5970
5970
|
children: /* @__PURE__ */ A.jsx("img", { src: Dc, height: 16, width: 16, style: { marginTop: "5px" } })
|
|
5971
5971
|
}
|
|
@@ -6019,7 +6019,7 @@ function Ac() {
|
|
|
6019
6019
|
] });
|
|
6020
6020
|
}
|
|
6021
6021
|
function Pc() {
|
|
6022
|
-
return /* @__PURE__ */ A.jsx("div", { className: "editor-placeholder",
|
|
6022
|
+
return /* @__PURE__ */ A.jsx("div", { className: "editor-placeholder", children: "Enter some rich text..." });
|
|
6023
6023
|
}
|
|
6024
6024
|
const zc = {
|
|
6025
6025
|
namespace: "React.js Demo",
|