This looks like a situation where it would be useful to use the hook
mechanism:

http://tiddlywiki.com/dev/#HookMechanism:HookMechanism%20%5B%5BHook%3A%20tc-opening-default-tiddlers-list%5D%5D

The idea would be for the navigator widget to invoke a new hook
"th-saving-tiddler" that gave plugins a chance to operate on a tiddler
before it is saved. I'll add it to my list, but please put your hand up if
anyone is willing to make a pull request.

Best wishes

Jeremy.

On Mon, Sep 7, 2015 at 1:55 PM, Danielo Rodríguez <[email protected]>
wrote:

> Hello BJ,
>
> El sábado, 5 de septiembre de 2015, 21:16:24 (UTC+2), BJ escribió:
>>
>>
>> tm-save-tiddler is consumed by the navigator widget so never reaches the
>> root widget. You will have to add a listener for change events, then check
>> the change list to remove ones that have 'deleted'  values.
>>
>
> That is more or less what I did:
>
>
> https://github.com/danielo515/TW5-AutoTag/blob/master/autotagwiki/plugins/autotag/autotagger.js
>
> Thank you for confirming that there is not possible to allow
> tm-save-tiddler to pop up.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywikidev/8b9bcb26-57dd-40d8-80e0-a48e5d6065d1%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywikidev/8b9bcb26-57dd-40d8-80e0-a48e5d6065d1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/CAPKKYJbOcwf94HUJ642D4ArL3M4MmkYHzZXH1wSyz%3DCStdM4fA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to