@@ -65,9 +65,9 @@ export default class MetaBindPlugin extends Plugin {
65
65
}
66
66
} ) ;
67
67
68
- this . registerMarkdownCodeBlockProcessor ( 'meta-bind-js' , ( source , el , ctx ) => {
69
- ctx . addChild ( new ScriptMarkdownRenderChild ( el , source , ctx , this ) ) ;
70
- } ) ;
68
+ // this.registerMarkdownCodeBlockProcessor('meta-bind-js', (source, el, ctx) => {
69
+ // ctx.addChild(new ScriptMarkdownRenderChild(el, source, ctx, this));
70
+ // });
71
71
72
72
// this.registerEditorExtension(cmPlugin);
73
73
// const languageCompartment = new Compartment();
@@ -81,19 +81,19 @@ export default class MetaBindPlugin extends Plugin {
81
81
// },
82
82
// });
83
83
84
- if ( this . settings . devMode ) {
85
- this . addCommand ( {
86
- id : 'meta-bind-debug' ,
87
- name : 'Trip Debugger' ,
88
- callback : ( ) => {
89
- debugger ;
90
- } ,
91
- } ) ;
92
- }
93
-
94
- this . app . workspace . onLayoutReady ( async ( ) => {
95
- await this . registerCodeMirrorMode ( ) ;
96
- } ) ;
84
+ // if (this.settings.devMode) {
85
+ // this.addCommand({
86
+ // id: 'meta-bind-debug',
87
+ // name: 'Trip Debugger',
88
+ // callback: () => {
89
+ // debugger;
90
+ // },
91
+ // });
92
+ // }
93
+ //
94
+ // this.app.workspace.onLayoutReady(async () => {
95
+ // await this.registerCodeMirrorMode();
96
+ // });
97
97
98
98
this . addSettingTab ( new MetaBindSettingTab ( this . app , this ) ) ;
99
99
}
0 commit comments