Commit 36835513 authored by Van's avatar Van

vditor

parent c1668ad1
...@@ -1149,9 +1149,9 @@ ...@@ -1149,9 +1149,9 @@
} }
}, },
"abab": { "abab": {
"version": "2.0.0", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/abab/-/abab-2.0.0.tgz", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.1.tgz",
"integrity": "sha512-sY5AXXVZv4Y1VACTtR11UJCPHHudgY5i26Qj5TypE6DKlIApbwb5uqhXcJ5UUGbvZNRh7EeIoW+LrJumBsKp7w==" "integrity": "sha512-1zSbbCuoIjafKZ3mblY5ikvAb0ODUbqBnFuUb7f6uLeQhhGJ0vEV4ntmtxKLT2WgXCO94E07BjunsIw1jOMPZw=="
}, },
"abbrev": { "abbrev": {
"version": "1.1.1", "version": "1.1.1",
...@@ -2963,9 +2963,9 @@ ...@@ -2963,9 +2963,9 @@
} }
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.3.241", "version": "1.3.245",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.241.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.245.tgz",
"integrity": "sha512-Gb9E6nWZlbgjDDNe5cAvMJixtn79krNJ70EDpq/M10lkGo7PGtBUe7Y0CYVHsBScRwi6ybCS+YetXAN9ysAHDg==" "integrity": "sha512-W1Tjm8VhabzYmiqLUD/sT/KTKkvZ8QpSkbTfLELBrFdnrolfkCgcbxFE3NXAxL5xedWXF74wWn0j6oVrgBdemw=="
}, },
"emoji-regex": { "emoji-regex": {
"version": "6.1.1", "version": "6.1.1",
...@@ -7961,9 +7961,9 @@ ...@@ -7961,9 +7961,9 @@
"integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM=" "integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM="
}, },
"vditor": { "vditor": {
"version": "1.7.20", "version": "1.7.25",
"resolved": "https://registry.npmjs.org/vditor/-/vditor-1.7.20.tgz", "resolved": "https://registry.npmjs.org/vditor/-/vditor-1.7.25.tgz",
"integrity": "sha512-uHDKxLnh16V13Tu3yeWZX8MyQxNENZOTzbHFKSpSK+PUTHu6jRe0sZcZuahu11F4tRGtiMCTX4xUiCmaTMEEzw==", "integrity": "sha512-wYekI18ueRjINT1QatcMD31GsZWIKN2Oe7lOcR1tkzCn73gRF2tk1xjZVWjwx6eotdcb+wYGTMD0rDrVqLN91Q==",
"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.7.20" "vditor": "^1.7.25"
} }
} }
...@@ -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.7.20/dist/index.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/vditor@1.7.25/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>
......
...@@ -185,7 +185,7 @@ var Util = { ...@@ -185,7 +185,7 @@ var Util = {
return return
} }
Util.addScript('https://cdn.jsdelivr.net/npm/vditor@1.7.20/dist/index.min.js', Util.addScript('https://cdn.jsdelivr.net/npm/vditor@1.7.25/dist/index.min.js',
'vditorScript') 'vditorScript')
Vditor.mermaidRender(document.body) Vditor.mermaidRender(document.body)
......
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.7.20/dist/index.min.js', 'https://cdn.jsdelivr.net/npm/vditor@1.7.25/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 4148d8c552c04f662722050f80c8a1ed9e6435f1 Subproject commit 2556bfb0b41cc81a2b6190bbd2e9fd0ed99519d8
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