I found this on Tiddlywiki.com <$keyboard key="alt-shift-M" actions='<$action-setfield $tiddler="my-tiddler" $field="my-field" $value="my-value"/>'>
<$edit-text tag="input" tiddler="my-tiddler"/> </$keyboard> On Wednesday, July 17, 2019 at 10:14:02 PM UTC+4:30, Mohammad wrote: > > I was asked to add *Enter *as shortcut for todolist pluging to add item > instead of clicking the add button! > > My question is: > > Is there any way to define a global keyboard shortcut to work on a focused > elements here textbox (edittext widget) > This means when you press ENTER key in a textbox created by edittext > widget an action is trigged! > > And when in tiddler edit view or other area you press ENTER that action is > not triggered? > > In summary the global keyboard shortcuts only work on focused element not > elsewhere! > > --Mohammad > > > https://tiddlywiki.com/prerelease/#EditTextWidget > > sasaa > -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7e1e6d5e-3034-4acc-94bd-ceda7b07af95%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

