forked from Gitlink/forgeplus-react
优化MD编辑器
This commit is contained in:
parent
d35d0aacdd
commit
0d9cfd16fb
|
@ -560,7 +560,6 @@
|
||||||
|
|
||||||
// 此处影响公式加载
|
// 此处影响公式加载
|
||||||
editormd.loadScript(loadPath + "marked.min", function () {
|
editormd.loadScript(loadPath + "marked.min", function () {
|
||||||
|
|
||||||
editormd.$marked = marked;
|
editormd.$marked = marked;
|
||||||
|
|
||||||
if (settings.previewCodeHighlight) {
|
if (settings.previewCodeHighlight) {
|
||||||
|
|
|
@ -289,8 +289,6 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla
|
||||||
setEditorInstance(this)
|
setEditorInstance(this)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log('editor_instance');
|
|
||||||
console.log(editor_instance);
|
|
||||||
|
|
||||||
}, [containerId, editorInstance, startInit])
|
}, [containerId, editorInstance, startInit])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue