Hi Danielo

> It's not possible for a plugin to add content to a tiddler without
>> overriding it. That's why we do so much configuration via system tags,
>> which makes it much easier to augment existing functionality.
>>
>
> Ok, then I think is a good idea to add a sort field and the sort operator
> in the transclusion list. This way you can add a button in the exact
> position that you want without asking the user to open  the system tiddler
> manually and transcluding it by hand. There is no need to change anything
> because the tiddlers without priority just takes 0 priority.
>

You  can add a button to the exact position you want using the `list`
field, or the `list-before` and `list-after` fields introduced in 5.0.9.


> In the case of the navigator widget you'll often be wanting instead to add
>> a global message handler. There's a bunch of them defined in startup.js,
>> and in due course you'll be able to add global message handler modules.
>>
>

>  How can I do this? Let's say that I want a message handler that reacts to
> drop events before the current dropzone and if its not their responsibility
> let the dropzone react. How can I achieve this?
>

I was talking about the root widget message handlers in startup.js. For
example, here's the one that handles the `tw-modal` message:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/startup.js#L113

 Customising the dropzone widget will probably be a matter of extending the
widget to make it more extensible. As usual, it depends what you're trying
to do.

Best wishes

Jeremy



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" 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/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to