mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-26 03:21:49 +08:00
feat:增加editor.md库的CDN
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
<title>编辑文章 - Powered by MinDoc</title>
|
||||
<script type="text/javascript">
|
||||
window.baseUrl = "{{.BaseUrl}}";
|
||||
window.katex = { js: "{{cdnjs "/static/katex/katex"}}",css: "{{cdncss "/static/katex/katex"}}"};
|
||||
window.editormdLib = "{{cdnjs "/static/editor.md/lib/"}}";
|
||||
window.editor = null;
|
||||
window.editURL = "{{urlfor "BlogController.ManageEdit" "blogId" .Model.BlogId}}";
|
||||
window.imageUploadURL = "{{urlfor "BlogController.Upload" "blogId" .Model.BlogId}}";
|
||||
|
||||
Reference in New Issue
Block a user