mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
search script UI
This commit is contained in:
@@ -21,6 +21,10 @@ const TPL = `
|
||||
For example to append a string to a note's title, use this small script:
|
||||
|
||||
<pre>note.title = note.title + ' - suffix';</pre>
|
||||
|
||||
More complex example would be deleting all matched note's attributes:
|
||||
|
||||
<pre>for (const attr of note.getOwnedAttributes) { attr.isDeleted = true; attr.save(); }</pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user