If you are using a core version of less than 2.4, the toolbar button
does not work - I had not taken the time to figure out what happens
in 2.3 with regard to the toolbar.
The decrypt button only shows up if there is a tag "Decrypt(" in the
tags list.
Regarding regex, true enough - but that code is only executed once, on
tiddlywiki startup, so I am not concerned.
I think I need to spend a bit of time re-factoring the plugin, in line
with current practices - I cannot say I am hugely happy with how it
has 'grown'.
:-)
...Lyall
On Oct 6, 7:23 pm, FND <[EMAIL PROTECTED]> wrote:
> > A new version has been released.
>
> Nice one, Lyall!
>
> > 2. If you are using TiddlyWiki core version 2.4 or above, you will now
> > see a 'decrypt' button in the tool bar, next to the 'edit' button.
>
> Oddly, this doesn't work for me.
> I haven't modified the ToolbarCommands shadow tiddler, so it should be
> fine - but the Decrypt command never shows up. (I took a quick glance at
> the code*, but can't see an obvious reason for this.)
>
> -- F.
>
> * btw, while it doesn't make a huge difference performance-wise, you
> might not have to use a RegEx to extend the toolbar:
> ...ToolbarCommands.replace('+editTiddler','decryptThis +editTiddler');
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" 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/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---