Commit 3bfbae3d authored by Van's avatar Van

vditor

parent 8586355c
......@@ -36,6 +36,6 @@
"gulp-uglify": "^3.0.2"
},
"dependencies": {
"vditor": "^1.7.3"
"vditor": "^1.7.4"
}
}
......@@ -165,7 +165,7 @@
</div>
</div>
<script src="${staticServePath}/js/lib/compress/admin-lib.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@1.7.3/dist/index.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vditor@1.7.4/dist/index.min.js"></script>
<script src="${staticServePath}/js/common${miniPostfix}.js"></script>
<#if "" == miniPostfix>
<script src="${staticServePath}/js/admin/admin.js"></script>
......
......@@ -182,7 +182,7 @@ var Util = {
return
}
Util.addScript('https://cdn.jsdelivr.net/npm/vditor@1.7.3/dist/index.min.js',
Util.addScript('https://cdn.jsdelivr.net/npm/vditor@1.7.4/dist/index.min.js',
'vditorScript')
Vditor.mermaidRender(document.body)
......
......@@ -103,7 +103,7 @@ $.extend(Page.prototype, {
if (!$('#soloEditorComment').hasClass('vditor')) {
var that = this
Util.addScript(
'https://cdn.jsdelivr.net/npm/vditor@1.7.3/dist/index.min.js',
'https://cdn.jsdelivr.net/npm/vditor@1.7.4/dist/index.min.js',
'vditorScript')
var toolbar = [
'emoji',
......
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