mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Update main.ts
This commit is contained in:
parent
153aeebb13
commit
8533e30ce5
1 changed files with 1 additions and 0 deletions
|
|
@ -159,6 +159,7 @@ export default class FolderNotesPlugin extends Plugin {
|
|||
|
||||
// @ts-ignore
|
||||
const editMode = view.editMode ?? view.sourceMode ?? this.app.workspace.activeEditor?.editMode;
|
||||
// eslint-disable-next-line
|
||||
const plugin = this;
|
||||
if (!editMode) { return; }
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue