scripts should have different sourceId

This commit is contained in:
zadam
2019-10-19 15:12:25 +02:00
parent b16c2d19b6
commit 1903c59163
6 changed files with 161 additions and 154 deletions

View File

@@ -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) {