sykpcomposer 0.0.199 → 0.0.201
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/{ImageComponent-7f6c0b8d.js → ImageComponent-3ad0c633.js} +3 -3
- package/dist/{ImageComponent-7f6c0b8d.js.map → ImageComponent-3ad0c633.js.map} +1 -1
- package/dist/{InlineImageComponent-5cf0c4b0.js → InlineImageComponent-2c994d24.js} +3 -3
- package/dist/{InlineImageComponent-5cf0c4b0.js.map → InlineImageComponent-2c994d24.js.map} +1 -1
- package/dist/{Placeholder-07210bca.js → Placeholder-1d88ffb6.js} +2 -2
- package/dist/{Placeholder-07210bca.js.map → Placeholder-1d88ffb6.js.map} +1 -1
- package/dist/{index-2ac99459.js → index-2d78bc06.js} +7 -10
- package/dist/index-2d78bc06.js.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-2ac99459.js.map +0 -1
|
@@ -6630,7 +6630,7 @@ function Zg() {
|
|
|
6630
6630
|
function Mr(g) {
|
|
6631
6631
|
return g instanceof qi;
|
|
6632
6632
|
}
|
|
6633
|
-
const Ow = hr.lazy(() => import("./ImageComponent-
|
|
6633
|
+
const Ow = hr.lazy(() => import("./ImageComponent-3ad0c633.js"));
|
|
6634
6634
|
function Tw(g) {
|
|
6635
6635
|
const a = g;
|
|
6636
6636
|
if (a.src.startsWith("file:///"))
|
|
@@ -6772,7 +6772,7 @@ function tp({
|
|
|
6772
6772
|
function kw(g) {
|
|
6773
6773
|
return g instanceof xc;
|
|
6774
6774
|
}
|
|
6775
|
-
const Aw = hr.lazy(() => import("./InlineImageComponent-
|
|
6775
|
+
const Aw = hr.lazy(() => import("./InlineImageComponent-2c994d24.js"));
|
|
6776
6776
|
function Nw(g) {
|
|
6777
6777
|
if (g instanceof HTMLImageElement) {
|
|
6778
6778
|
const { alt: a, src: p, width: t, height: u } = g;
|
|
@@ -13891,14 +13891,11 @@ const aC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idX
|
|
|
13891
13891
|
const [w] = gr(), S = (O, C) => {
|
|
13892
13892
|
w.update(() => {
|
|
13893
13893
|
const R = xr(), j = ur(`${O}`);
|
|
13894
|
-
j.setStyle(C.style), j.setFormat(C.format), R.append(j), w.getRootElement() && O && O.length >
|
|
13894
|
+
j.setStyle(C.style), j.setFormat(C.format), R.append(j), w.getRootElement() && O && O.length > 0 && w.getEditorState().read(() => kr()).append(R);
|
|
13895
13895
|
});
|
|
13896
13896
|
}, y = () => {
|
|
13897
|
-
|
|
13898
|
-
|
|
13899
|
-
C && C.text && C.text.trim("") && C.text.trim("").length > 1 && C.style && C.style.length > 10 && f(C.style) === "block" && (S(C.text.trim(""), C), R === O.root.children.length - 1 && setTimeout(() => {
|
|
13900
|
-
location.reload();
|
|
13901
|
-
}, 1e3));
|
|
13897
|
+
h(e).root.children.map((C, R) => {
|
|
13898
|
+
C && C.text && C.text.trim("") && C.text.trim("").length > 1 && C.style && C.style.length > 10 && f(C.style) === "block" && S(C.text.trim(""), C);
|
|
13902
13899
|
}), s();
|
|
13903
13900
|
};
|
|
13904
13901
|
return /* @__PURE__ */ Ht.jsx("button", { className: `green-button-paste ${e.length > 100 ? "" : "disable-btn"}`, onClick: y, children: "Insert Node" });
|
|
@@ -13909,7 +13906,7 @@ const aC = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idX
|
|
|
13909
13906
|
"font-weight": $ && $ !== null ? $ : "none",
|
|
13910
13907
|
"text-decoration": D && D !== null ? D : "none",
|
|
13911
13908
|
"font-style": V && V !== null ? V : "none",
|
|
13912
|
-
"font-size":
|
|
13909
|
+
"font-size": "none",
|
|
13913
13910
|
display: ["span", "table", "tbody", "tr", "td"].includes(S) ? "block" : "none",
|
|
13914
13911
|
// "line-height": "10px",
|
|
13915
13912
|
color: N && N !== "transparent" ? N : "black"
|
|
@@ -53496,4 +53493,4 @@ export {
|
|
|
53496
53493
|
Ie as w,
|
|
53497
53494
|
Pr as x
|
|
53498
53495
|
};
|
|
53499
|
-
//# sourceMappingURL=index-
|
|
53496
|
+
//# sourceMappingURL=index-2d78bc06.js.map
|