mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
scripts should have different sourceId
This commit is contained in:
@@ -142,6 +142,8 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, tabConte
|
||||
currentNoteId: currentNote.noteId,
|
||||
originEntityName: "notes", // currently there's no other entity on frontend which can trigger event
|
||||
originEntityId: originEntity ? originEntity.noteId : null
|
||||
}, {
|
||||
'trilium-source-id': "script"
|
||||
});
|
||||
|
||||
if (ret.success) {
|
||||
|
||||
Reference in New Issue
Block a user