md-editor-v3 4.15.5 → 4.15.6
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/lib/cjs/chunks/index.cjs +1363 -43
- package/lib/es/MdEditor.mjs +2 -2
- package/lib/es/chunks/event-name.mjs +13 -13
- package/lib/es/chunks/index.mjs +1354 -34
- package/lib/es/chunks/index4.mjs +3 -3
- package/lib/types/MdEditor/layouts/Content/markdownIt/xss/index.d.ts +14 -0
- package/lib/umd/index.js +37 -37
- package/package.json +3 -3
package/lib/es/MdEditor.mjs
CHANGED
|
@@ -8,10 +8,10 @@ import { defineComponent, createVNode, inject, ref, onMounted, reactive, watch,
|
|
|
8
8
|
import { p as prefix, f as configOption, b as allToolbar, M as MinInputBoxWidth, d as allFooter } from "./chunks/config.mjs";
|
|
9
9
|
import { draggingScroll, linkTo, debounce, createSmoothScroll, throttle } from "@vavt/util";
|
|
10
10
|
import { a as Dropdown, D as DropdownToolbar } from "./chunks/index2.mjs";
|
|
11
|
-
import { b as bus,
|
|
11
|
+
import { b as bus, a as CHANGE_FULL_SCREEN, E as ERROR_CATCHER, U as UPLOAD_IMAGE, O as OPEN_MODALS, R as REPLACE, c as CHANGE_CATALOG_VISIBLE, d as ON_SAVE, e as CTRL_SHIFT_Z, f as CTRL_Z, g as EVENT_LISTENER } from "./chunks/event-name.mjs";
|
|
12
12
|
import { a as appendHandler } from "./chunks/dom.mjs";
|
|
13
13
|
import { M as MdModal, I as Icon } from "./chunks/index3.mjs";
|
|
14
|
-
import {
|
|
14
|
+
import { b as base642File } from "./chunks/index4.mjs";
|
|
15
15
|
import { EditorView as EditorView$1 } from "codemirror";
|
|
16
16
|
import { EditorView, placeholder, keymap } from "@codemirror/view";
|
|
17
17
|
import { languages } from "@codemirror/language-data";
|
|
@@ -77,20 +77,20 @@ export {
|
|
|
77
77
|
ERROR_CATCHER as E,
|
|
78
78
|
FULL_SCREEN_CHANGED as F,
|
|
79
79
|
HTML_PREVIEW_CHANGED as H,
|
|
80
|
-
|
|
80
|
+
OPEN_MODALS as O,
|
|
81
81
|
PUSH_CATALOG as P,
|
|
82
|
-
|
|
82
|
+
REPLACE as R,
|
|
83
83
|
UPLOAD_IMAGE as U,
|
|
84
|
-
|
|
84
|
+
CHANGE_FULL_SCREEN as a,
|
|
85
85
|
bus as b,
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
86
|
+
CHANGE_CATALOG_VISIBLE as c,
|
|
87
|
+
ON_SAVE as d,
|
|
88
|
+
CTRL_SHIFT_Z as e,
|
|
89
|
+
CTRL_Z as f,
|
|
90
|
+
EVENT_LISTENER as g,
|
|
91
|
+
RERENDER as h,
|
|
92
|
+
PAGE_FULL_SCREEN_CHANGED as i,
|
|
93
|
+
PREVIEW_CHANGED as j,
|
|
94
|
+
PREVIEW_ONLY_CHANGED as k,
|
|
95
|
+
CATALOG_VISIBLE_CHANGED as l
|
|
96
96
|
};
|