浏览代码

UI update

zhuzhuyule 7 年之前
父节点
当前提交
2ae7d50f7e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      views/main/moe-document.js

+ 1 - 0
views/main/moe-document.js

@@ -467,6 +467,7 @@ $(() => {
 
                 if (!flag) {
                     hexoWindow.changed = true;
+                    hexoWindow.fileContent = content;
                     hexoWindow.window.setDocumentEdited(true);
                     return;
                 }