Commit 81b3d6c2 authored by Van's avatar Van

vditor

parent 5bbb0911
...@@ -2952,9 +2952,9 @@ ...@@ -2952,9 +2952,9 @@
} }
}, },
"electron-to-chromium": { "electron-to-chromium": {
"version": "1.3.224", "version": "1.3.225",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.224.tgz", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.225.tgz",
"integrity": "sha512-vTH9UcMbi53x/pZKQrEcD83obE8agqQwUIx/G03/mpE1vzLm0KA3cHwuZXCysvxI1gXfNjV7Nu7Vjtp89kDzmg==" "integrity": "sha512-7W/L3jw7HYE+tUPbcVOGBmnSrlUmyZ/Uyg24QS7Vx0a9KodtNrN0r0Q/LyGHrcYMtw2rv7E49F/vTXwlV/fuaA=="
}, },
"emoji-regex": { "emoji-regex": {
"version": "6.1.1", "version": "6.1.1",
...@@ -3056,9 +3056,9 @@ ...@@ -3056,9 +3056,9 @@
"integrity": "sha512-QGb9sFxBVpbzMggrKTX0ry1oiI4CSDAl9vIL702hzl1jGW8VZs7qfqTRX7WDOjoNDoEVGcEtu1ZOQgReSfT2kQ==" "integrity": "sha512-QGb9sFxBVpbzMggrKTX0ry1oiI4CSDAl9vIL702hzl1jGW8VZs7qfqTRX7WDOjoNDoEVGcEtu1ZOQgReSfT2kQ=="
}, },
"escodegen": { "escodegen": {
"version": "1.11.1", "version": "1.12.0",
"resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.11.1.tgz", "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.12.0.tgz",
"integrity": "sha512-JwiqFD9KdGVVpeuRa68yU3zZnBEOcPs0nKW7wZzXky8Z7tffdYUHbe11bPCV5jYlK6DVdKLWLm0f5I/QlL0Kmw==", "integrity": "sha512-TuA+EhsanGcme5T3R0L80u4t8CpbXQjegRmf7+FPTJrtCTErXFeelblRgHQa1FofEzqYYJmJ/OqjTwREp9qgmg==",
"requires": { "requires": {
"esprima": "^3.1.3", "esprima": "^3.1.3",
"estraverse": "^4.2.0", "estraverse": "^4.2.0",
...@@ -7967,9 +7967,9 @@ ...@@ -7967,9 +7967,9 @@
"integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM=" "integrity": "sha1-HCQ6ULWVwb5Up1S/7OhWO5/42BM="
}, },
"vditor": { "vditor": {
"version": "1.7.5", "version": "1.7.7",
"resolved": "https://registry.npmjs.org/vditor/-/vditor-1.7.5.tgz", "resolved": "https://registry.npmjs.org/vditor/-/vditor-1.7.7.tgz",
"integrity": "sha512-xCxUrYDlAMoqB53rIZNNsrGCheOAT5LAhwz6x3LCixoOFmFJbAZAtriUUh3FE/HcmfD6sAOKZWtTe0tdBQqyNA==", "integrity": "sha512-MGwIaCjEbOAlxT+ajSmx1mt2bikZYhLMtAi6OxVgV7zd+NKOz2kJ/qA45zrFvOfaQOamXUVkadF4ild6eKZGRg==",
"requires": { "requires": {
"diff-match-patch": "^1.0.4", "diff-match-patch": "^1.0.4",
"echarts": "^4.2.1", "echarts": "^4.2.1",
......
...@@ -36,6 +36,6 @@ ...@@ -36,6 +36,6 @@
"gulp-uglify": "^3.0.2" "gulp-uglify": "^3.0.2"
}, },
"dependencies": { "dependencies": {
"vditor": "^1.7.5" "vditor": "^1.7.7"
} }
} }
...@@ -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.5/dist/index.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/vditor@1.7.7/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>
......
...@@ -182,7 +182,7 @@ var Util = { ...@@ -182,7 +182,7 @@ var Util = {
return return
} }
Util.addScript('https://cdn.jsdelivr.net/npm/vditor@1.7.5/dist/index.min.js', Util.addScript('https://cdn.jsdelivr.net/npm/vditor@1.7.7/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.5/dist/index.min.js', 'https://cdn.jsdelivr.net/npm/vditor@1.7.7/dist/index.min.js',
'vditorScript') 'vditorScript')
var toolbar = [ var toolbar = [
'emoji', 'emoji',
......
This diff is collapsed.
Subproject commit 31107a7f0558406d661e1aae98b3a91396c1bdd4 Subproject commit b55ecd49120446152ab1e7fed41924f250d34fd7
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