mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-26 11:29:02 +08:00
feat:1、修复无数据时报错的问题。
2、新增自定义代码着色格式 3、新增自动加载配置文件
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
<link href="{{cdncss "/static/jstree/3.3.4/themes/default/style.min.css"}}" rel="stylesheet">
|
||||
<link href="{{cdncss "/static/wangEditor/css/wangEditor.min.css"}}" rel="stylesheet">
|
||||
|
||||
<link href="{{cdncss "/static/highlight/styles/zenburn.css"}}" rel="stylesheet">
|
||||
<link href="{{cdncss "/static/editor.md/lib/highlight/styles/"}}{{if .HighlightStyle}}{{.HighlightStyle}}{{else}}github{{end}}.css" rel="stylesheet">
|
||||
<link href="{{cdncss "/static/webuploader/webuploader.css"}}" rel="stylesheet">
|
||||
|
||||
<link href="{{cdncss "/static/css/jstree.css"}}" rel="stylesheet">
|
||||
@@ -212,7 +212,7 @@
|
||||
window.uploader = WebUploader.create({
|
||||
auto: true,
|
||||
dnd : true,
|
||||
swf: '/static/webuploader/Uploader.swf',
|
||||
swf: '{{.BaseUrl}}/static/webuploader/Uploader.swf',
|
||||
server: '{{urlfor "DocumentController.Upload"}}',
|
||||
formData : { "identify" : {{.Model.Identify}},"doc_id" : window.selectNode.id },
|
||||
pick: "#filePicker",
|
||||
@@ -271,8 +271,6 @@
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user