diff --git a/static/js/blog.js b/static/js/blog.js index 23740fd4..6a19c4f6 100644 --- a/static/js/blog.js +++ b/static/js/blog.js @@ -42,7 +42,6 @@ $(function () { }; this.addKeyMap(keyMap); - console.log("加载完成") uploadImage("docEditor", function ($state, $res) { console.log("注册上传图片") if ($state === "before") { @@ -56,9 +55,6 @@ $(function () { } } }); - window.isLoad = true; - this.insertValue($("#blogRawMarkdown").html()); - this.setCursor({ line: 0, ch: 0 }); }, onchange: function () { resetEditorChanged(true); diff --git a/views/blog/manage_edit.tpl b/views/blog/manage_edit.tpl index 38bed815..c1bf5938 100644 --- a/views/blog/manage_edit.tpl +++ b/views/blog/manage_edit.tpl @@ -91,7 +91,7 @@