mirror of
https://github.com/leanote/desktop-app.git
synced 2026-01-21 01:13:57 +08:00
MD.setContent("");, 初始化md editor; 如果当前没有笔记, 则有可能会卡死
This commit is contained in:
@@ -16879,6 +16879,8 @@ define('core',[
|
||||
// Refresh the editor (even if it's the same file)
|
||||
core.initEditor(desc);
|
||||
};
|
||||
MD.setContent("");
|
||||
// MD.setContent("");
|
||||
MD.getContent = function () {
|
||||
if(!window.lightMode) {
|
||||
return aceEditor.getValue();
|
||||
|
||||
2
public/md/main-v2.min.js
vendored
2
public/md/main-v2.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user