Try

<$vars pre="[[" suf="]]">
<$button>New tiddler
<$action-sendmessage $message="tm-new-tiddler" text='<$transclude 
tiddler="$:/category">' tags={{{ 
[<currentTiddler>addprefix<pre>addsuffix<suf>] }}} />
</$button>
</$vars>


On Thursday, June 27, 2019 at 2:54:29 PM UTC-7, Ankit Mittal wrote:
>
> Hi, 
>
> I am trying to create a button that mimics the behaviour of "Create a new 
> tiddler tagged with this one". 
>
> I used this 
>
> <$action-sendmessage $message="tm-new-tiddler" text='<$transclude 
> tiddler="$:/category">' tags={{!!title}} />
>
> which works fine so long as title does not have white space but if it has 
> white space it takes each word as a separate tag instead of making whole 
> title the tag. 
>
> Please can someone help me achieve this?
>

-- 
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/112b40c8-959a-436b-9777-15f8ecc8d096%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to