I am trying to create a shortcut to create a bunch of different journal-types. They will have different template-text, titles and so on. Mostly, the title will contain a suffix coming from an <$edit-text, but they also a macro <<now>>.
Below is what I got so far, it works, but the text-box looses focus after a keypress. I think I am hitting the issue @ https://github.com/Jermolene/TiddlyWiki5/issues/341 (from 2014), but I'm not sure. Anyone got any idea how to solve this? Or maybe there is a plugin around that does what I want instead? \define journalLogButton() <$edit-text tiddler="$:/state/new-journal-log-title" tag="input" default=""/> <$button> <$action-sendmessage $message="tm-new-tiddler" title=<<now "YYYY-0MM-0DD $(titleSuffix)$ ">> tags="Journal" journal-type="log" year=<<now "YYYY">> month=<<now "0MM">> day=<<now "0DD">> /> New log </$button> \end <$set name="titleSuffix" value={{$:/state/new-journal-log-title}}> <<journalLogButton>> </$set> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1a5bb3fe-5765-4d60-8aee-b4c980b766d1o%40googlegroups.com.

