Run a script when moving/dragging the note to another level, parent or child (scripting) #2898
Answered
by
zadam
nicollasricas
asked this question in
Q&A
-
Is there a way to run a script when moving/dragging the note to another level, parent or child?
Example: |
Beta Was this translation helpful? Give feedback.
Answered by
zadam
Jun 5, 2022
Replies: 2 comments
-
Hi, I just added two new events:
Move is represented by deleting the old branch (representing old location) and creating a new branch (new target location). This is present in just released 0.52.1-beta |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
nicollasricas
-
Work like a charm. Thanks for the update! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I just added two new events:
runOnBranchCreation
- executes when a branch is created. Branch is a link between parent note and child note and is created e.g. when cloning or moving note.runOnBranchDeletion
- executes when a branch is delete. Branch is a link between parent note and child note and is deleted e.g. when moving note (old branch/link is deleted).Move is represented by deleting the old branch (representing old location) and creating a new branch (new target location).
This is present in just released 0.52.1-beta