Bimlas,
This works for me with currentTiddler but I am not sure if it is enough for
you, since it is used with system tags.
<$button message="tm-copy-to-clipboard" param={{!!title}}
class="tc-btn-invisible" tooltip="Copy tag name to clipboard">
{{$:/core/images/copy-clipboard}}
</$button>
If however you control the value param={{!!title}} you should be able to
use a macro defined with [[{{!!title}}]]
Here is my edit recent tab
\define EditRecent(limit:"200",format:"DDth MMM YYYY",subfilter:"",dateField
:"modified")
<div class="tc-timeline">
<$list filter=
"[all[shadows+tiddlers]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]"
>
<div class="tc-menu-list-item">
<$view field="$dateField$" format="date" template="$format$"/>
<$list
filter="[sameday:$dateField${!!$dateField$}$subfilter$!sort[$dateField$]]
-[[$:/HistoryList]] -[prefix[$:/state]] -[prefix[$:/temp]]
-[prefix[$:/config]] -[prefix[$:/temp]] -[[$:/core/ui/PageTemplate/story]]">
<div class="tc-menu-list-subitem">
<small>
<$button tooltip="Open for Edit" class="w3-block w3-left-align">
<$action-sendmessage $message="tm-edit-tiddler" $param=<<currentTiddler
>>/>
<<currentTiddler>>
</$button>
</small>
</div>
</$list>
</div>
</$list>
</div>
\end
[[EditRecent|$:/PSaT/EditRecent/SideBarTab]]
<$macrocall $name="EditRecent" format={{$:/language/RecentChanges/DateFormat
}}/>
Regards
TOny
On Monday, July 22, 2019 at 5:52:22 AM UTC+10, bimlas wrote:
>
> TonyM,
>
> Could you give an example to copy-title? :D Because of your comment I
> thought it might be useful:
> https://groups.google.com/forum/#!msg/tiddlywiki/k3Mp2PQnD6Y/khXFq7dsAAAJ
> ("The ability to copy the tiddler title wrapped [[as required]] from the
> search results list")
>
--
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/75b0ab2e-86c3-44d5-af86-99f78f9c7dc1%40googlegroups.com.