lengyue-editor 1.0.10 → 1.0.11
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 +8 -7
- package/package.json +1 -1
- package/types/index.d.ts +2 -2
package/dist/umo-editor.js
CHANGED
|
@@ -64,7 +64,7 @@ import DC from "dom-to-image-more";
|
|
|
64
64
|
import xi from "nzh/cn";
|
|
65
65
|
import { ObjectSchema as f5 } from "@eslint/object-schema";
|
|
66
66
|
/**
|
|
67
|
-
* lengyue-editor 1.0.
|
|
67
|
+
* lengyue-editor 1.0.11
|
|
68
68
|
* @license MIT
|
|
69
69
|
* @author umodoc https://www.umodoc.com
|
|
70
70
|
* @see https://www.umodoc.com
|
|
@@ -44098,7 +44098,7 @@ const rr = /* @__PURE__ */ te({
|
|
|
44098
44098
|
const e = Z("container", "body"), n = dn(), r = (a) => n.expose = a;
|
|
44099
44099
|
return (a, o) => (B(), q(SC(yt(k(j1e), { ...a.$attrs, attach: k(e), ref: r }, a.$slots))));
|
|
44100
44100
|
}
|
|
44101
|
-
}), I1e = "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", F1e = "1.0.
|
|
44101
|
+
}), I1e = "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", F1e = "1.0.11", R1e = "https://www.umodoc.com", am = {
|
|
44102
44102
|
version: F1e,
|
|
44103
44103
|
homepage: R1e
|
|
44104
44104
|
}, B1e = () => {
|
|
@@ -56245,10 +56245,10 @@ const fxe = tr.create({
|
|
|
56245
56245
|
mode: ["html"],
|
|
56246
56246
|
title: v.value.document.title,
|
|
56247
56247
|
html: "",
|
|
56248
|
-
editable: (_ = (w = (g = v.value) == null ? void 0 : g.
|
|
56249
|
-
closeable: (O = (x = (C = v.value) == null ? void 0 : C.
|
|
56250
|
-
showAside: (M = (E = (P = v.value) == null ? void 0 : P.
|
|
56251
|
-
...(T = v.value) == null ? void 0 : T.
|
|
56248
|
+
editable: (_ = (w = (g = v.value) == null ? void 0 : g.viewerPage) == null ? void 0 : w.editable) != null ? _ : !0,
|
|
56249
|
+
closeable: (O = (x = (C = v.value) == null ? void 0 : C.viewerPage) == null ? void 0 : x.closeable) != null ? O : !0,
|
|
56250
|
+
showAside: (M = (E = (P = v.value) == null ? void 0 : P.viewerPage) == null ? void 0 : E.showAside) != null ? M : !1,
|
|
56251
|
+
...(T = v.value) == null ? void 0 : T.viewerPage
|
|
56252
56252
|
});
|
|
56253
56253
|
return ue(f, async (j) => {
|
|
56254
56254
|
y.value.html = j ? await b() : "", m.value = j;
|
|
@@ -60753,6 +60753,7 @@ const f$e = {
|
|
|
60753
60753
|
});
|
|
60754
60754
|
}
|
|
60755
60755
|
},
|
|
60756
|
+
viewerPage: {},
|
|
60756
60757
|
user: {},
|
|
60757
60758
|
users: [],
|
|
60758
60759
|
extensions: [],
|
|
@@ -61471,7 +61472,7 @@ const f$e = {
|
|
|
61471
61472
|
validate: "object",
|
|
61472
61473
|
required: !1
|
|
61473
61474
|
},
|
|
61474
|
-
|
|
61475
|
+
viewerPage: {
|
|
61475
61476
|
merge: "replace",
|
|
61476
61477
|
validate: "object",
|
|
61477
61478
|
required: !1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lengyue-editor",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
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": [
|
package/types/index.d.ts
CHANGED
|
@@ -112,7 +112,7 @@ export interface DocumentOptions {
|
|
|
112
112
|
autoSave?: AutoSaveOptions
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
export interface
|
|
115
|
+
export interface ViewerPageOptions {
|
|
116
116
|
lang?: string
|
|
117
117
|
theme?: string
|
|
118
118
|
mode?: string[]
|
|
@@ -271,7 +271,7 @@ export interface UmoEditorOptions {
|
|
|
271
271
|
toolbar?: ToolbarOptions
|
|
272
272
|
page?: PageOption
|
|
273
273
|
document?: DocumentOptions
|
|
274
|
-
|
|
274
|
+
viewerPage?: ViewerPageOptions
|
|
275
275
|
ai?: {
|
|
276
276
|
assistant?: AssistantOptions
|
|
277
277
|
}
|