mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 22:05:44 +01:00
render notes should now return elements to append instead of modifying DOM directly
This commit is contained in:
@@ -8,8 +8,8 @@ async function getAndExecuteBundle(noteId, originEntity = null) {
|
||||
await executeBundle(bundle, originEntity);
|
||||
}
|
||||
|
||||
async function executeBundle(bundle, originEntity) {
|
||||
const apiContext = await ScriptContext(bundle.noteId, bundle.allNoteIds, originEntity);
|
||||
async function executeBundle(bundle, originEntity, tabContext) {
|
||||
const apiContext = await ScriptContext(bundle.noteId, bundle.allNoteIds, originEntity, tabContext);
|
||||
|
||||
try {
|
||||
return await (function () {
|
||||
|
||||
Reference in New Issue
Block a user