vue-devui 1.5.15-hotfix.4 → 1.6.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/code-review/style.css +10 -1
- package/editor-md/index.es.js +3 -3
- package/editor-md/index.umd.js +33 -33
- package/package.json +3 -2
- package/style.css +10 -1
- package/vue-devui.es.js +4 -4
- package/vue-devui.umd.js +30 -30
package/vue-devui.es.js
CHANGED
|
@@ -41,7 +41,7 @@ import { onClickOutside, toRefs as toRefs$1, useResizeObserver } from "@vueuse/c
|
|
|
41
41
|
import * as Diff2Html from "diff2html";
|
|
42
42
|
import { Diff2HtmlUI } from "diff2html/lib/ui/js/diff2html-ui";
|
|
43
43
|
import * as echarts from "echarts";
|
|
44
|
-
import
|
|
44
|
+
import hljs from "highlight.js";
|
|
45
45
|
import MarkdownIt from "markdown-it";
|
|
46
46
|
import { getDefaultWhiteList, getDefaultCSSWhiteList, filterXSS } from "xss";
|
|
47
47
|
import Mermaid from "mermaid/dist/mermaid.js";
|
|
@@ -24986,11 +24986,11 @@ __publicField(ToolBarHandler, "checkList", (editor) => {
|
|
|
24986
24986
|
const selection = editor.getSelection();
|
|
24987
24987
|
editor.focus();
|
|
24988
24988
|
if (selection === "") {
|
|
24989
|
-
editor.replaceSelection("
|
|
24989
|
+
editor.replaceSelection("[ ] " + selection);
|
|
24990
24990
|
} else {
|
|
24991
24991
|
const selectionText = selection.split("\n");
|
|
24992
24992
|
for (let i = 0, len = selectionText.length; i < len; i++) {
|
|
24993
|
-
selectionText[i] = selectionText[i] === "" ? "" : "
|
|
24993
|
+
selectionText[i] = selectionText[i] === "" ? "" : "[ ] " + selectionText[i];
|
|
24994
24994
|
}
|
|
24995
24995
|
editor.replaceSelection(selectionText.join("\n"));
|
|
24996
24996
|
}
|
|
@@ -44086,7 +44086,7 @@ const installs = [
|
|
|
44086
44086
|
VirtualListInstall
|
|
44087
44087
|
];
|
|
44088
44088
|
var vueDevui = {
|
|
44089
|
-
version: "1.
|
|
44089
|
+
version: "1.6.0",
|
|
44090
44090
|
install(app) {
|
|
44091
44091
|
installs.forEach((p) => app.use(p));
|
|
44092
44092
|
}
|