resolve: #1167
This commit is contained in:
parent
1fa18a3540
commit
99d8bb4679
|
|
@ -16,9 +16,13 @@ async function openLinkCreator(
|
|||
return;
|
||||
}
|
||||
const io = {
|
||||
openedNoteIDs: Zotero_Tabs._tabs
|
||||
.map((tab) => tab.data?.itemID)
|
||||
.filter((id) => id && id != currentNote.id),
|
||||
openedNoteIDs: Array.from(
|
||||
new Set(
|
||||
Zotero.Notes._editorInstances
|
||||
.map((editor) => editor._item?.id)
|
||||
.filter((id) => id),
|
||||
),
|
||||
),
|
||||
currentNoteID: currentNote.id,
|
||||
currentLineIndex: options?.lineIndex,
|
||||
deferred: Zotero.Promise.defer(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue