[twdev] Re: Hook defined in startup module not working

2020-06-18 Thread TonyM
Mirko, when renaming a tiddler by the standard edit-mode Does this mean in an interactive wiki? you could use the new relink plugin, which means you need not bother with firing an event in that case. Ignore me if I am off target. TW Tones On Thursday, June 18, 2020 at 8:15:47 PM UTC+10,

[twdev] Re: Hook defined in startup module not working

2020-06-18 Thread Saq Imtiaz
There is no way at present to hook into renaming that occurs via the standard edit template, which I think is a shortcoming that needs to be addressed. Looks like Jeremy is on the case for that. On Thursday, June 18, 2020 at 12:15:47 PM UTC+2, Mirko Richter wrote: > > Hi! I came accross

[twdev] Re: Hook defined in startup module not working

2020-06-18 Thread Mirko Richter
Hi! I came accross exactly the issue discussed here andin https://github.com/Jermolene/TiddlyWiki5/pull/4434. My Use-Case is just as follows: Beside *tags* and *list* renaming (that is directly supported by TW5) i want to update my own list-fields (custom named) on ANY title-change (API or

[twdev] Re: Hook defined in startup module not working

2020-01-31 Thread bimlas
I've found the problem: the tiddler I wanted to rename was not listed in othe tiddler's fields (neither in the "tags" nor in the "list" field), so the hook didn't executed and therefore the messages didn't appear. Can I create hooks that will be executed anyway when renaming, even if they have