From 0d9cfd16fb7447514d7383b206f3b6e9eb0b857c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E7=AB=A5=E5=B4=87?= <792998983@qq.com> Date: Thu, 17 Nov 2022 15:54:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96MD=E7=BC=96=E8=BE=91=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/js/editormd/editormd.min.js | 1 - src/modules/tpm/challengesnew/tpm-md-editor.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/public/js/editormd/editormd.min.js b/public/js/editormd/editormd.min.js index 89aaf1bc..758c2fcc 100755 --- a/public/js/editormd/editormd.min.js +++ b/public/js/editormd/editormd.min.js @@ -560,7 +560,6 @@ // 此处影响公式加载 editormd.loadScript(loadPath + "marked.min", function () { - editormd.$marked = marked; if (settings.previewCodeHighlight) { diff --git a/src/modules/tpm/challengesnew/tpm-md-editor.js b/src/modules/tpm/challengesnew/tpm-md-editor.js index 51e65e7e..2f9c820d 100644 --- a/src/modules/tpm/challengesnew/tpm-md-editor.js +++ b/src/modules/tpm/challengesnew/tpm-md-editor.js @@ -289,8 +289,6 @@ export default ({ mdID, onChange, onCMBeforeChange, onCMBlur, error = false, cla setEditorInstance(this) } }) - console.log('editor_instance'); - console.log(editor_instance); }, [containerId, editorInstance, startInit])