markdown editor inited
This commit is contained in:
2
public/js/markdown-v2.min.js
vendored
2
public/js/markdown-v2.min.js
vendored
File diff suppressed because one or more lines are too long
@ -16886,6 +16886,8 @@ define('core',[
|
|||||||
// Refresh the editor (even if it's the same file)
|
// Refresh the editor (even if it's the same file)
|
||||||
core.initEditor(desc);
|
core.initEditor(desc);
|
||||||
};
|
};
|
||||||
|
// 初始化, 避免卡死
|
||||||
|
MD.setContent("");
|
||||||
MD.getContent = function () {
|
MD.getContent = function () {
|
||||||
if(!window.lightMode) {
|
if(!window.lightMode) {
|
||||||
return aceEditor.getValue();
|
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