From 0ca24b3a275d6a1a7f97263b67cb81c7c1a5f7f8 Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 22 Oct 2022 21:29:52 +0200 Subject: [PATCH] Updated Attributes (markdown) --- Attributes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Attributes.md b/Attributes.md index 78e4af6..9a6d746 100644 --- a/Attributes.md +++ b/Attributes.md @@ -71,14 +71,14 @@ Relations are used also for some advanced scripting - like attaching scripts to ### Standard relations [[Events]]: -* `runOnNoteCreation` - executes when note is created on backend +* `runOnNoteCreation` - executes when note is created on backend. Use this relation if you want to run the script for all notes created under a specific subtree. In that case, create it on the subtree root note and make it inheritable. A new note created within the subtree (any depth) will trigger the script. +* `runOnChildNoteCreation` - executes when new note is created under the note where this relation is defined * `runOnNoteTitleChange` - executes when note title is changed (includes note creation as well) * `runOnNoteChange` - executes when note is changed (includes note creation as well) * `runOnNoteDeletion` - executes when note is being deleted. * `runOnBranchCreation` and `runOnBranchDeletion` - executes when a branch is created/deleted. Branches are links between a parent and a child note, and are created when e.g. cloning or moving notes. -* `runOnChildNoteCreation` - executes when new note is created under *this* note -* `runOnAttributeCreation` - executes when new attribute is created under *this* note -* `runOnAttributeChange` - executes when attribute is changed under *this* note +* `runOnAttributeCreation` - executes when new attribute is created for the note which defines this relation +* `runOnAttributeChange` - executes when the attribute is changed of a note which defines this relation Other relations: * `template` - attached note's attributes will be inherited even without parent-child relationship. See [[template]] for details.