Hello,
I know this doesn't get you exactly what you are looking for but I thought
it may help. There is a toolbar option "new here" (shown below) that can be
turned on that creates a new tiddler with the name of the current tiddler
as a tag. However, as you point out with the tm-add-tag situation the
option "new here" option doesn't show when editing, only when viewing the
tiddler/post save.
[image: Screenshot from 2021-06-03 12-53-27.png]
Sorry if the above setting is the exact same thing as the tm-add-tag
scenario you mentioned.
On Thursday, June 3, 2021 at 11:53:39 AM UTC-4 Ed Heil wrote:
> Hello,
>
> I've been trying to do something that seems like it should be simple but
> maybe isn't.
>
> I'm in a tiddler called "Three Word Title."
>
> I wish to add a tiddler tagged with its name and one other tag, in
> response to hitting a button.
>
> I would think I'd use something like:
>
> <$action-createtiddler $base="MyBase" tags={{{ [<currentTiddler>]
> [[OtherTag]] +[join[ ]] }} />
>
> But of course that won't work, it will give it the tags "Three" "Word"
> "Title" and "OtherTag."
>
> Is there a bulletproof way to turn a list of tiddlers (returned by a
> filter) into a list with proper [[]] so it's suitable for use in a tags
> field?
>
> I could do this by creating the tiddler first, then saving the title, then
> sending a tm-add-tag message, but at that point I need a FieldManglerWidget
> and it just seems like this ought to be easier.
>
> I thought that maybe enlist or enlist-input should do the job but they
> don't seem to.
>
> I guess another way of summing up my problem would be that I want this:
>
> <$vars barBaz="bar baz">
> "<$text text={{{ [[foo]] [<barBaz>] +[what operator do I want here?[]]
> }}}/>"
> </$vars>
>
> to somehow produce
>
> "[[foo]] [[bar baz]]"
>
>
>
--
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/755a1c03-b654-4314-9779-cbcb135c87f7n%40googlegroups.com.