> do you think my patches so far can be implemented as plugins?
Almost anything can be implemented as a plugin - some things more
elegantly than others.
We often tend to implement features as plugins first, eventually
integrating them into the core once they're proven stable and useful.
In this particular case, you probably wanna override the core's closeAll
macro handler:
config.macros.closeAll.accessKey = "Y";
config.macros.closeAll.handler = function(place) {
createTiddlyButton(place, this.label, this.prompt, this.onClick,
null, null, this.accessKey);
};
To avoid overriding and thus duplicating the core code, you might
discover the respective element in the DOM and add an accessKey
attribute. However, that's probably more trouble than it's worth here.
Also see here:
http://tiddlywiki.org/wiki/Dev:Hijacking
HTH.
-- F.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tiddlywikidev?hl=en
-~----------~----~----~----~------~----~------~--~---