The reference is in the EditTemplate code.
In the toolbar you have -cancelTiddler.
The - in this ties the escape key to the command cancelTiddler.
In a similar fashion in +saveTiddler the + command ties the double
mouse button to saveTiddler.
Hope that helps.
Jon

On Nov 2, 5:17 pm, jerimiah <[email protected]> wrote:
> Question, how is there any reference to the esc key here?
>
> On Nov 2, 12:15 pm, jerimiah <[email protected]> wrote:
>
> > Thank you Eric!
>
> > It was actually located in the quoted code below but it did the
> > trick.  Thanks!
>
> > !EditTemplate
> > <!--{{{-->
> > <div class="toolbar" macro="toolbar +saveTiddler saveCloseTiddler
> > closeOthers -cancelTiddler cancelCloseTiddler deleteTiddler"></div>
> > <div class="title" macro="view title"></div>
> > <div class="editLabel">Title</div><div class="editor" macro="edit
> > title"></div>
> > <div macro='annotations'></div>
> > <div class="editLabel">Content</div><div class="editor" macro="edit
> > text"></div>
> > <div class="editLabel">Tags</div><div class="editor" macro="edit
> > tags"></div>
> > <div class="editorFooter"><span macro="message
> > views.editor.tagPrompt"></span><span macro="tagChooser"></span></div>
> > <!--}}}-->
>
> > On Nov 1, 3:39 pm, Eric Shulman <[email protected]> wrote:
>
> > > > 2006.11.16 2.0.0 removed chkDisableEscapeKey (obsolete... use custom
> > > > EditTemplate to change toolbar definition).
>
> > > Much has changed since 2006.... but the basic mechanism for binding
> > > the escape key to a toolbar command is the same: the command is
> > > preceded by a "-" (minus sign).  Thus, in ToolbarCommands (or
> > > MPTWTheme if using MPTW), you could change this:
>
> > > |~EditToolbar|+saveTiddler -cancelTiddler copyTiddler deleteTiddler|
>
> > > to
>
> > > |~EditToolbar|+saveTiddler cancelTiddler copyTiddler deleteTiddler|
>
> > > (i.e. remove the "-" prefix from cancelTiddler)
>
> > > enjoy,
> > > -e
> > > Eric Shulman
> > > TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to