lengyue-editor 1.1.0-alpha.7 → 1.2.0
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/umo-editor.js +3 -5
- package/package.json +1 -1
package/dist/umo-editor.js
CHANGED
|
@@ -65,7 +65,7 @@ import xi from "nzh/cn";
|
|
|
65
65
|
import zd from "mammoth";
|
|
66
66
|
import { ObjectSchema as m5 } from "@eslint/object-schema";
|
|
67
67
|
/**
|
|
68
|
-
* lengyue-editor 1.
|
|
68
|
+
* lengyue-editor 1.2.0
|
|
69
69
|
* @license MIT
|
|
70
70
|
* @author umodoc https://www.umodoc.com
|
|
71
71
|
* @see https://www.umodoc.com
|
|
@@ -44099,7 +44099,7 @@ const rr = /* @__PURE__ */ te({
|
|
|
44099
44099
|
const e = J("container", "body"), n = dn(), r = (a) => n.expose = a;
|
|
44100
44100
|
return (a, o) => (B(), q(OC(yt(k(I1e), { ...a.$attrs, attach: k(e), ref: r }, a.$slots))));
|
|
44101
44101
|
}
|
|
44102
|
-
}), F1e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='460.224'%20height='128'%3e%3cg%20fill='none'%3e%3cpath%20d='M450.627%2039.41l9.597%2013.658c-2.724%2015.076-5.577%2030.28-8.3%2045.486-4.886%204.594-9.771%209.19-14.654%2013.787h-65.878c-3.113-4.768-6.355-9.406-9.467-14.174%202.723-15.076%205.576-30.023%208.3-45.099l14.524-13.658h65.878zm-240.182-1.057l-8.99%2049.222h41.483l4.238-22.936%2020.678%2017.653-2.826%2015.205-14.512%2013.787h-65.244l-9.375-13.787%2010.66-59.144h23.888zm57.537%200l32.574%2029.302%2045.733-29.302h15.636l-16.027%2072.931h-27.492l7.297-33.34-31.662%2017.712-45.213-38.55%204.17-18.753h14.984zM430.397%2062.99H396.16l-4.539%203.866c-1.037%205.798-2.205%2011.725-3.242%2017.653l3.112%204.252h35.014c1.297-1.289%202.594-2.577%203.632-3.737.291-1.514.575-3.028.855-4.542l1.661-9.084.855-4.542-3.112-3.866h.001zM78.005%200L65.638%2082.444l-48.62%206.342-.846%205.496%2062.256-1.48%2011.31-68.28%2041.75-10.464-15.855%2091.851-32.026%2021.985H0L18.074%2015.432%2078.005%200zM56.971%2064.581l-37.523%209.302-.422%202.854%2037.522-9.302.423-2.854zm2.431-15.009L21.88%2058.874l-.423%202.853%2037.522-9.301.423-2.854zm2.431-15.009L24.31%2043.865l-.422%202.853%2037.522-9.301.423-2.854zm2.431-15.115L26.742%2028.75l-.423%202.854%2037.522-9.302.423-2.854z'%20fill='%234376F8'/%3e%3cpath%20fill-opacity='.7'%20fill='%23FFF'%20d='M115.633%20106.015l-28.855-.106L83.607%20128z'/%3e%3c/g%3e%3cscript/%3e%3c/svg%3e", R1e = "1.
|
|
44102
|
+
}), F1e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='460.224'%20height='128'%3e%3cg%20fill='none'%3e%3cpath%20d='M450.627%2039.41l9.597%2013.658c-2.724%2015.076-5.577%2030.28-8.3%2045.486-4.886%204.594-9.771%209.19-14.654%2013.787h-65.878c-3.113-4.768-6.355-9.406-9.467-14.174%202.723-15.076%205.576-30.023%208.3-45.099l14.524-13.658h65.878zm-240.182-1.057l-8.99%2049.222h41.483l4.238-22.936%2020.678%2017.653-2.826%2015.205-14.512%2013.787h-65.244l-9.375-13.787%2010.66-59.144h23.888zm57.537%200l32.574%2029.302%2045.733-29.302h15.636l-16.027%2072.931h-27.492l7.297-33.34-31.662%2017.712-45.213-38.55%204.17-18.753h14.984zM430.397%2062.99H396.16l-4.539%203.866c-1.037%205.798-2.205%2011.725-3.242%2017.653l3.112%204.252h35.014c1.297-1.289%202.594-2.577%203.632-3.737.291-1.514.575-3.028.855-4.542l1.661-9.084.855-4.542-3.112-3.866h.001zM78.005%200L65.638%2082.444l-48.62%206.342-.846%205.496%2062.256-1.48%2011.31-68.28%2041.75-10.464-15.855%2091.851-32.026%2021.985H0L18.074%2015.432%2078.005%200zM56.971%2064.581l-37.523%209.302-.422%202.854%2037.522-9.302.423-2.854zm2.431-15.009L21.88%2058.874l-.423%202.853%2037.522-9.301.423-2.854zm2.431-15.009L24.31%2043.865l-.422%202.853%2037.522-9.301.423-2.854zm2.431-15.115L26.742%2028.75l-.423%202.854%2037.522-9.302.423-2.854z'%20fill='%234376F8'/%3e%3cpath%20fill-opacity='.7'%20fill='%23FFF'%20d='M115.633%20106.015l-28.855-.106L83.607%20128z'/%3e%3c/g%3e%3cscript/%3e%3c/svg%3e", R1e = "1.2.0", B1e = "https://www.umodoc.com", am = {
|
|
44103
44103
|
version: R1e,
|
|
44104
44104
|
homepage: B1e
|
|
44105
44105
|
}, N1e = () => {
|
|
@@ -54057,9 +54057,7 @@ const V2e = L2e.configure({
|
|
|
54057
54057
|
const e = J("container"), n = J("editor"), r = J("uploadFileMap"), a = J("imageViewer"), o = J("options"), { isLoading: l, error: i } = l3({ src: t.node.attrs.src }), u = N(null), s = N(null);
|
|
54058
54058
|
let c = N(!1), d = N(0), v = N(0);
|
|
54059
54059
|
const f = R(() => {
|
|
54060
|
-
const { nodeAlign: x, margin: O } = t.node.attrs;
|
|
54061
|
-
console.log("nodeStyle", t.node);
|
|
54062
|
-
const P = O != null && O.top && (O == null ? void 0 : O.top) !== "" ? `${O.top}px` : void 0, E = O != null && O.bottom && (O == null ? void 0 : O.bottom) !== "" ? `${O.bottom}px` : void 0;
|
|
54060
|
+
const { nodeAlign: x, margin: O } = t.node.attrs, P = O != null && O.top && (O == null ? void 0 : O.top) !== "" ? `${O.top}px` : void 0, E = O != null && O.bottom && (O == null ? void 0 : O.bottom) !== "" ? `${O.bottom}px` : void 0;
|
|
54063
54061
|
return {
|
|
54064
54062
|
justifyContent: x,
|
|
54065
54063
|
marginTop: P,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lengyue-editor",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Umo Editor is open-source document editor based on Vue3 and Tiptap. Umo Editor provides comprehensive document editing capabilities and AI creation features, supports pagination, supports Markdown syntax, offers basic rich text editing functions, allows for the insertion of various node types in multiple formats, provides a variety of practical tools, and supports setting page styles. It also supports exporting in various formats, printing and print preview, block-level document editing, adding custom extensions, multi-language settings, and a dark theme.",
|
|
6
6
|
"keywords": [
|