markdown editor inited

This commit is contained in:
lealife
2015-12-06 15:48:05 +08:00
parent dd9952c453
commit 43e8f2e701
3 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -16886,6 +16886,8 @@ define('core',[
// Refresh the editor (even if it's the same file)
core.initEditor(desc);
};
// 初始化, 避免卡死
MD.setContent("");
MD.getContent = function () {
if(!window.lightMode) {
return aceEditor.getValue();

File diff suppressed because one or more lines are too long