[tw5] tm-new-tiddler. How to ge full tag from title with space?

90 views
Skip to first unread message

sini-Kit

unread,
Aug 13, 2016, 10:42:54 AM8/13/16
to TiddlyWiki
Hi! I have my tiddler title "Hello wiki!" and button in it

<$button>
<$action-sendmessage $message="tm-new-tiddler" title="This is newly created tiddler" tags={{!!title}} text=<
<now "Today is DDth, MMM YYYY">>/>
New Tiddler
</$button>

 but when I press this button I get tiddler with two tags "Hello" and "wiki", but I want to get one tag "Hello wiki" is it possible?

Mark S.

unread,
Aug 13, 2016, 4:12:14 PM8/13/16
to TiddlyWiki
Try this version:

\define tagme() [[$(tagx)$]]
<$set name=tagx value={{!!title}}>
<$button>
<$action-sendmessage $message="tm-new-tiddler" title="This is newly created tiddler" tags=<<tagme>> text=<<now "Today is DDth, MMM YYYY">>/>
New Tiddler
</
$button>
</$set>

Rustem

unread,
Aug 13, 2016, 5:38:37 PM8/13/16
to TiddlyWiki

sini-Kit

unread,
Aug 14, 2016, 5:38:04 AM8/14/16
to TiddlyWiki
Thank you! This button work good!

суббота, 13 августа 2016 г., 23:12:14 UTC+3 пользователь Mark S. написал:
Reply all
Reply to author
Forward
0 new messages