lengyue-editor 1.0.13 → 1.1.0-alpha.1

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.
@@ -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.13
67
+ * lengyue-editor 1.1.0-alpha.1
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.13", R1e = "https://www.umodoc.com", am = {
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.1.0-alpha.1", R1e = "https://www.umodoc.com", am = {
44102
44102
  version: F1e,
44103
44103
  homepage: R1e
44104
44104
  }, B1e = () => {
@@ -58271,7 +58271,7 @@ const fxe = tr.create({
58271
58271
  const e = Z("container"), n = Z("editor"), r = Z("options"), a = r.value.importWord;
58272
58272
  We(async () => {
58273
58273
  await Dd(
58274
- `${r.value.cdnUrl}/libs/mammoth/mammoth.browser.min.js`,
58274
+ `${r.value.bootCdnUrl}/mammoth/1.11.0/mammoth.browser.min.js`,
58275
58275
  "script",
58276
58276
  "mammoth-script"
58277
58277
  );
@@ -60720,6 +60720,7 @@ const f$e = {
60720
60720
  webPages: p$e,
60721
60721
  templates: [],
60722
60722
  cdnUrl: "https://unpkg.com/@umoteam/editor-external@latest",
60723
+ bootCdnUrl: "https://cdn.bootcdn.net/ajax/libs",
60723
60724
  shareUrl: location.href || "",
60724
60725
  diagrams: {
60725
60726
  domain: "https://embed.diagrams.net",
@@ -61425,6 +61426,11 @@ const f$e = {
61425
61426
  validate: "string",
61426
61427
  required: !1
61427
61428
  },
61429
+ bootCdnUrl: {
61430
+ merge: "replace",
61431
+ validate: "string",
61432
+ required: !1
61433
+ },
61428
61434
  diagrams: {
61429
61435
  merge: "assign",
61430
61436
  validate: "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lengyue-editor",
3
- "version": "1.0.13",
3
+ "version": "1.1.0-alpha.1",
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
@@ -279,6 +279,7 @@ export interface UmoEditorOptions {
279
279
  webPages?: WebPageItem[]
280
280
  templates?: Template[]
281
281
  cdnUrl?: string
282
+ bootCdnUrl?: string
282
283
  shareUrl?: string
283
284
  diagrams?: Record<string, unknown>
284
285
  importWord?: ImportWordOptions