File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ const GeneralSettings = () => {
195195 plugin . settings . nodesFolderPath = nodesFolderPath ;
196196 plugin . settings . canvasFolderPath = canvasFolderPath ;
197197 plugin . settings . canvasAttachmentsFolderPath = canvasAttachmentsFolderPath ;
198- plugin . settings . nodeTagHotkey = nodeTagHotkey || "\\ " ;
198+ plugin . settings . nodeTagHotkey = nodeTagHotkey || "" ;
199199 await plugin . saveSettings ( ) ;
200200 new Notice ( "General settings saved" ) ;
201201 setHasUnsavedChanges ( false ) ;
Original file line number Diff line number Diff line change 1- import { App , Editor } from "obsidian" ;
1+ import { Editor } from "obsidian" ;
22import { DiscourseNode } from "~/types" ;
33
44type NodeTagItem = {
@@ -16,7 +16,6 @@ export class NodeTagSuggestPopover {
1616 constructor (
1717 private editor : Editor ,
1818 private nodeTypes : DiscourseNode [ ] ,
19- private app : App ,
2019 ) {
2120 this . initializeItems ( ) ;
2221 }
@@ -171,7 +170,7 @@ export class NodeTagSuggestPopover {
171170 itemEl . appendChild ( textContainer ) ;
172171
173172 itemEl . addEventListener ( "mousedown" , ( e ) => {
174- e . preventDefault ( ) ;
173+ e . preventDefault ( ) ;
175174 e . stopPropagation ( ) ;
176175 this . selectItem ( item ) ;
177176 } ) ;
Original file line number Diff line number Diff line change @@ -212,7 +212,6 @@ export default class DiscourseGraphPlugin extends Plugin {
212212 const popover = new NodeTagSuggestPopover (
213213 activeView . editor ,
214214 this . settings . nodeTypes ,
215- this . app ,
216215 ) ;
217216 popover . open ( ) ;
218217 }
You can’t perform that action at this time.
0 commit comments