--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/989a7947-37ee-4e25-a75a-1ca3208efdc6o%40googlegroups.com.
Thank you. This worked.
But what syntax should I use if the tag is defined inside a variable journalTags.
I have tried
tags="[[<<journalTags>>]]""
and
tags="[[$journalTags$]]""
Both did not work.
--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ddb85920-f5ba-4787-af96-fe9892661fd5o%40googlegroups.com.
Thanks a lot. I am actually trying to create a duplicate of “New Journal” button, which I call “New Highlight”. Everything now works including the keyboard shortcut.
What does not work is that I want the “New Highlight” tiddler to have a tag ✨ highlight. Notice the space.
The code for the action is this
<$vars journalTitleTemplate={{$:/talha131/config/NewHighlight/Title}} journalTags={{$:/talha131/config/NewHighlight/Tags}} journalText={{$:/talha131/config/NewHighlight/Text}}>
<$wikify name="journalTitle" text="""<$macrocall $name="now" format=<<journalTitleTemplate>>/>""">
<$reveal type="nomatch" state=<<journalTitle>> text="">
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<journalTags>> text={{{ [<journalTitle>get[]] }}}/>
</$reveal>
<$reveal type="match" state=<<journalTitle>> text="">
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<journalTags>> text=<<journalText>>/>
</$reveal>
</$wikify>
</$vars>
As you can tell it is same as new-journal action.
It reads the tag from {{$:/talha131/config/NewHighlight/Tags}} into journalTags variable.
This variable is used in this way tags=<<journalTags>>. But this syntax does not work for a tag that has spaces in it.
You can try this issue, by overwriting your $:/config/NewJournal/Tags tiddler and adding a tag that has spaces in it.
I just tried setting the value of my tiddler $:/talha131/config/NewHighlight/Tags
[[✨ highlight]]
and it solved the issue.
But I would still like to know how to use spaces in tags=<<journalTags>> syntax?
--
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 tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4ab664ad-b111-47bb-ae28-2ea7449e095eo%40googlegroups.com.
tags={{{filter}}}