@umoteam/editor 3.1.2 → 3.1.4

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.
@@ -52,9 +52,9 @@ import OE from "@tiptap/extension-dropcursor";
52
52
  import { saveAs as T0 } from "file-saver";
53
53
  import { toBlob as I0, toJpeg as $E, toPng as xE } from "dom-to-image-more";
54
54
  import so from "nzh/cn";
55
- import { convertToHtml as AE } from "mammoth";
55
+ import AE from "mammoth/mammoth.browser";
56
56
  /**
57
- * @umoteam/editor 3.1.2
57
+ * @umoteam/editor 3.1.3
58
58
  * @license MIT
59
59
  * @author umodoc https://umodoc.com
60
60
  * @see https://editor.umodoc.com/en/docs
@@ -44096,7 +44096,7 @@ const Lve = /* @__PURE__ */ je(Mve, [["render", Rve], ["__scopeId", "data-v-191e
44096
44096
  }
44097
44097
  return;
44098
44098
  }
44099
- const f = u.arrayBuffer(), { messages: d, value: v } = await AE(
44099
+ const f = u.arrayBuffer(), { messages: d, value: v } = await AE.convertToHtml(
44100
44100
  { arrayBuffer: f },
44101
44101
  r.value.toolbar.importWord.options
44102
44102
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umoteam/editor",
3
- "version": "3.1.2",
3
+ "version": "3.1.4",
4
4
  "description": "Umo Editor is an open-source document editor based on Vue3, offering localized functionalities. It provides comprehensive document editing capabilities and AI creation features, supports Markdown syntax, basic rich-text editing features, a variety of node types in multiple formats, a range of practical tools, and customization of page styles. It also supports exporting in various formats, printing and print preview, document block editing, adding custom extensions, i18n settings, and dark mode support.",
5
5
  "keywords": [
6
6
  "umo editor",