mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-20 19:07:56 +08:00
修复二级目录BUG
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
$(function () {
|
||||
editormd.katexURL = {
|
||||
js : "/static/katex/katex",
|
||||
css : "/static/katex/katex"
|
||||
js : window.baseUrl + "/static/katex/katex",
|
||||
css : window.baseUrl + "/static/katex/katex"
|
||||
};
|
||||
window.addDocumentModalFormHtml = $(this).find("form").html();
|
||||
window.editor = editormd("docEditor", {
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
path: "/static/editor.md/lib/",
|
||||
path: window.baseUrl + "/static/editor.md/lib/",
|
||||
toolbar: true,
|
||||
placeholder: "本编辑器支持 Markdown 编辑,左边编写,右边预览。",
|
||||
imageUpload: true,
|
||||
|
Reference in New Issue
Block a user