Skip to content

Commit

Permalink
fix: #61
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyloong committed Sep 24, 2024
1 parent 54a5e3b commit a613210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"author": "lazyloong",

"minAppVersion": "1.0.0",
"version": "2.27.2"
"version": "2.27.3"
}
1 change: 1 addition & 0 deletions src/editorSuggest/tagEditorSuggest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export default class TagEditorSuggest extends EditorSuggest<MatchData<Item>> {
query: s,
};
}
if (!file) return null;
let frontmatterPosition = (app.metadataCache.getFileCache(file) as any)
?.frontmatterPosition,
start = frontmatterPosition?.start.line || 0,
Expand Down

0 comments on commit a613210

Please sign in to comment.