Vditor的文档渲染cdn地址改为本地

This commit is contained in:
yangjian 2020-10-29 22:56:42 +08:00
parent a0a7437df4
commit f174fea1c1
3 changed files with 3 additions and 0 deletions

View File

@ -47,6 +47,7 @@
<a href="http://mrdoc.zmister.com/project-7/doc-434/">QQ</a>|
<a href="http://mrdoc.zmister.com/project-7/doc-434/">PayPal</a>
</p>
## 功能特性
- **站点管理**

View File

@ -447,6 +447,7 @@
const md_content = $("#content textarea").val()
Vditor.preview(document.getElementById('content'),
md_content, {
"cdn":"{% static 'vditor' %}",
speech: {
enable: true,
},

View File

@ -186,6 +186,7 @@
const md_desc = $("#project-desc textarea").val()
Vditor.preview(document.getElementById('project-desc'),
md_desc, {
"cdn":"{% static 'vditor' %}",
speech: {
enable: true,
},