El martes, 15 de abril de 2014 12:42:21 UTC+2, Jeremy Ruston escribió: > > Hi Danielo > > Thanks for the feedback. I've updated the docs to clarify some points, and > here are answers to your related questions: > > Thank you very much.
> > For widgets, the last one loaded will win. You can use the plugin-priority > field to control the ordering, but it's generally a better idea to avoid > having the same widget in multiple plugins. > Probably it's a bad design from my side. Sometimes I was close to edit some core widgets and I was worried about new releases. But at the end I used js macros instead taking advantage of the current functionality, which in my opinion is better. > Plugins are unpacked into shadow tiddlers automatically when the plugin is > loaded. > > I know about that, but I was talking about something different. I mean, using a command to unpack a plugin contents and use the tiddlers inside. At the end I came to the conclusion that a plugin is just a JSON string so I can just parse it. > 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. > 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? -- 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.

