remove unusused cm

This commit is contained in:
fyears 2021-11-15 10:06:10 +08:00
parent 76f90ea375
commit 2a572fb1bd

View File

@ -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);