This works great when you keep the focus on the tiddler text. If you open the tiddler with ctrl+return the focus on the tiddler text is lost unfortunately. Could you make it so that the focus after opening comes on the tiddler text like when you would open it with clicking edit ?
Thanks, Okido On 14 Aug, 22:14, Eric Shulman <[email protected]> wrote: > > Is there a keybord shortcut to switch a tiddler to edit mode, or is > > there plugin that would give some options with regards to shortcuts. > > I've just updated this plugin: > http://www.TiddlyTools.com/#EditTiddlerPlugin > > In addition to the <<editTiddler TiddlerName linktext>> macro, which > lets you > embed an explicit 'edit' link in tiddler content to invoke edit on > *any* specified tiddler title, the plugin now (v1.3.0) also adds > automatic handling for using ctrl-enter as a keyboard shortcut to > invoke editing on the current 'selected' tiddler (the one with an > active toolbar menu). > > Here's the actual code for handling the shortcut: > ----------------------- > addEvent(document,'keydown', function(ev) { var ev=ev||window.event; > if (!ev.ctrlKey || ev.keyCode!=13) return; // CTRL-ENTER = edit > tiddler > story.forEachTiddler(function(title,tiddler){ > if (hasClass(tiddler,'selected') && !story.isDirty(title)) > > story.displayTiddler(null,title,DEFAULT_EDIT_TEMPLATE); > }); > > }); > > 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 -~----------~----~----~----~------~----~------~--~---

