Commit a5993e21 authored by Van's avatar Van

💄 hljs vs chroma

parent ccf0c42f
...@@ -8097,9 +8097,9 @@ ...@@ -8097,9 +8097,9 @@
"integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM=" "integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM="
}, },
"vditor": { "vditor": {
"version": "1.8.9", "version": "1.8.10",
"resolved": "https://registry.npmjs.org/vditor/-/vditor-1.8.9.tgz", "resolved": "https://registry.npmjs.org/vditor/-/vditor-1.8.10.tgz",
"integrity": "sha512-WetgTcj5lDwA+BDkSDnwqZfXYwL4YbAEHLZfU3pFvyhhTagq3Hw4CTO4aZaq0d5q4g37nzADNjL3BpZVuVQpnA==", "integrity": "sha512-DVObEr5/OHUwx3r2xosPQ+GtNg4BQfThjVRlw6JexhJ/a6U+J7HP5/7N/tQ243Nrj4p6U4MdcmM8fzYml69Qcw==",
"requires": { "requires": {
"abcjs": "^5.8.0", "abcjs": "^5.8.0",
"diff-match-patch": "^1.0.4", "diff-match-patch": "^1.0.4",
......
...@@ -36,6 +36,6 @@ ...@@ -36,6 +36,6 @@
"gulp-uglify": "^3.0.2" "gulp-uglify": "^3.0.2"
}, },
"dependencies": { "dependencies": {
"vditor": "^1.8.9" "vditor": "^1.8.10"
} }
} }
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
</div> </div>
</div> </div>
<script src="${staticServePath}/js/lib/compress/admin-lib.min.js"></script> <script src="${staticServePath}/js/lib/compress/admin-lib.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@1.8.9/dist/index.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/vditor@1.8.10/dist/index.min.js"></script>
<script src="${staticServePath}/js/common${miniPostfix}.js"></script> <script src="${staticServePath}/js/common${miniPostfix}.js"></script>
<#if "" == miniPostfix> <#if "" == miniPostfix>
<script src="${staticServePath}/js/admin/admin.js"></script> <script src="${staticServePath}/js/admin/admin.js"></script>
......
...@@ -157,7 +157,7 @@ var Util = { ...@@ -157,7 +157,7 @@ var Util = {
if (typeof Vditor === 'undefined') { if (typeof Vditor === 'undefined') {
Util.addScript( Util.addScript(
'https://cdn.jsdelivr.net/npm/vditor@1.8.9/dist/method.min.js', 'https://cdn.jsdelivr.net/npm/vditor@1.8.10/dist/method.min.js',
'vditorPreviewScript') 'vditorPreviewScript')
} }
......
This diff is collapsed.
...@@ -103,7 +103,7 @@ $.extend(Page.prototype, { ...@@ -103,7 +103,7 @@ $.extend(Page.prototype, {
if (!$('#soloEditorComment').hasClass('vditor')) { if (!$('#soloEditorComment').hasClass('vditor')) {
var that = this var that = this
Util.addScript( Util.addScript(
'https://cdn.jsdelivr.net/npm/vditor@1.8.9/dist/index.min.js', 'https://cdn.jsdelivr.net/npm/vditor@1.8.10/dist/index.min.js',
'vditorScript') 'vditorScript')
var toolbar = [ var toolbar = [
'emoji', 'emoji',
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Subproject commit 2fbe6d9f89f8bc086dce1fabb4800420944c1e81 Subproject commit 8d942045922f2b2304f8346d40b491295145ce41
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment