mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 18:05:55 +01:00
new "disable_inclusion" attribute
This commit is contained in:
@@ -61,6 +61,10 @@ async function getScriptBundle(note, includedNoteIds = []) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (await note.hasAttribute('disable_inclusion')) {
|
||||
return;
|
||||
}
|
||||
|
||||
const bundle = {
|
||||
note: note,
|
||||
script: '',
|
||||
|
||||
Reference in New Issue
Block a user