From f174fea1c1c241a30f7121c0e23570a2b90ec396 Mon Sep 17 00:00:00 2001 From: yangjian Date: Thu, 29 Oct 2020 22:56:42 +0800 Subject: [PATCH] =?UTF-8?q?Vditor=E7=9A=84=E6=96=87=E6=A1=A3=E6=B8=B2?= =?UTF-8?q?=E6=9F=93cdn=E5=9C=B0=E5=9D=80=E6=94=B9=E4=B8=BA=E6=9C=AC?= =?UTF-8?q?=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + template/app_doc/docs_base.html | 1 + template/app_doc/project.html | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 4fb95e3..ef653f3 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,7 @@ QQ| PayPal

+ ## 功能特性 - **站点管理** diff --git a/template/app_doc/docs_base.html b/template/app_doc/docs_base.html index ce13a6e..ebbe6b7 100644 --- a/template/app_doc/docs_base.html +++ b/template/app_doc/docs_base.html @@ -447,6 +447,7 @@ const md_content = $("#content textarea").val() Vditor.preview(document.getElementById('content'), md_content, { + "cdn":"{% static 'vditor' %}", speech: { enable: true, }, diff --git a/template/app_doc/project.html b/template/app_doc/project.html index 9a6b09e..eac1607 100644 --- a/template/app_doc/project.html +++ b/template/app_doc/project.html @@ -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, },