Click event when saving a tiddler

60 views
Skip to first unread message

Robert Payne

unread,
Oct 22, 2020, 2:13:03 PM10/22/20
to TiddlyWiki
I'm not having any luck finding the answer I am looking for.
I want to capture the click event of the save icon when I am done editing a tiddler so that I can programmatically save the changes.
Thanks in advance.

--Robert

TW Tones

unread,
Oct 22, 2020, 10:06:29 PM10/22/20
to TiddlyWiki
Robert

The done button is found in $:/core/ui/Buttons/save also known as OK.

The actions used are found in the macro `<<save-tiddler-actions>>`
but you could edit and add more actions in that button.

Alternatively the tiddler 

$:/core/ui/EditTemplate



Is where save-tiddler-actions is defined, you can add some actions there.

Of course you could clone, then modify the $:/core/ui/EditTemplate and change the edit template tiddlername used in  

$:/config/ui/EditTemplate



Regards
Tones
Reply all
Reply to author
Forward
0 new messages