mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-19 01:58:00 +08:00
feat:1、实现文档自动保存
2、实现记住上次打开的文档,当文档编辑时会自动定位到上次打开的文档。
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
|
||||
<title>编辑文档 - Powered by MinDoc</title>
|
||||
<script type="text/javascript">
|
||||
window.treeCatalog = null;
|
||||
window.baseUrl = "{{.BaseUrl}}";
|
||||
window.saveing = false;
|
||||
window.katex = { js: "{{cdnjs "/static/katex/katex"}}",css: "{{cdncss "/static/katex/katex"}}"};
|
||||
window.editormdLib = "{{cdnjs "/static/editor.md/lib/"}}";
|
||||
window.editor = null;
|
||||
@@ -395,6 +397,7 @@
|
||||
<template id="template-code">
|
||||
{{template "document/template_code.tpl"}}
|
||||
</template>
|
||||
<script src="{{cdnjs "/static/js/array.js" "version"}}" type="text/javascript"></script>
|
||||
<script src="{{cdnjs "/static/jquery/1.12.4/jquery.min.js"}}"></script>
|
||||
<script src="{{cdnjs "/static/vuejs/vue.min.js"}}" type="text/javascript"></script>
|
||||
<script src="{{cdnjs "/static/bootstrap/js/bootstrap.min.js"}}"></script>
|
||||
|
Reference in New Issue
Block a user