mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
refactored TabContext => NoteContext
This commit is contained in:
@@ -31,7 +31,7 @@ async function autocompleteSourceForCKEditor(queryText) {
|
||||
}
|
||||
|
||||
async function autocompleteSource(term, cb, options = {}) {
|
||||
const activeNoteId = appContext.tabManager.getActiveTabNoteId();
|
||||
const activeNoteId = appContext.tabManager.getActiveContextNoteId();
|
||||
|
||||
let results = await server.get('autocomplete'
|
||||
+ '?query=' + encodeURIComponent(term)
|
||||
|
||||
Reference in New Issue
Block a user