From 2a572fb1bdeaa97d8a5d1ced3633685c384c6ae3 Mon Sep 17 00:00:00 2001 From: fyears Date: Mon, 15 Nov 2021 10:06:10 +0800 Subject: [PATCH] remove unusused cm --- src/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 55103fb..0d96895 100644 --- a/src/main.ts +++ b/src/main.ts @@ -150,10 +150,10 @@ export default class RemotelySavePlugin extends Plugin { this.addSettingTab(new RemotelySaveSettingTab(this.app, this)); - this.registerCodeMirror((cm: CodeMirror.Editor) => { - this.cm = cm; - console.log("codemirror registered."); - }); + // this.registerCodeMirror((cm: CodeMirror.Editor) => { + // this.cm = cm; + // console.log("codemirror registered."); + // }); // this.registerDomEvent(document, "click", (evt: MouseEvent) => { // console.log("click", evt);