Currently, the <$edit-text> widget doesn't do anything with the enter key. It also ignores any 'child content' (i.e., anything between <$edit-text> and </$edit-text>). If we add a handler to $:/core/modules/widgets/edit-text.js to catch the enter key, we could then use it to trigger <$action> widgets defined as content of the $edit-text widget, just like the content of <$button>...</$button>. If no action widgets are defined for the edit field, it would still work as it does today.
With this additional ability for the edit-text widget to invoke actions , we could then modify the $:/core/ui/EditTemplate/tags definition, changing this:
<$edit-text tiddler="$:/temp/NewTagName" .../>
to this:
<$edit-text tiddler="$:/temp/NewTagName" ...>
<$action-sendmessage message="tm-add-tag" param={{$:/temp/NewTagName}}>
<$action-setfield tiddler="$:/temp/NewTagName" text="">
</$edit-text>
Thus, as you type text, it is saved in $:/temp/NewTagName, and 'enter' invokes the action widgets to set the tag from the temp value, and then clear the tag input so it is ready to add another tag.
enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
InsideTiddlyWiki: The Missing Manuals