29 lines
923 B
Plaintext
29 lines
923 B
Plaintext
caption: copy public link
|
|
created: 20201120172611922
|
|
creator: soren
|
|
description: Copy a link to this tiddler in the public Zettelkasten
|
|
list-after: $:/core/ui/Buttons/info
|
|
modified: 20210922125543768
|
|
modifier: soren
|
|
tags: $:/tags/ViewToolbar
|
|
title: $:/sib/Buttons/CopyPublicZettelkastenLink
|
|
type: text/vnd.tiddlywiki
|
|
|
|
\whitespace trim
|
|
\define copier()
|
|
https://zettelkasten.sorenbjornstad.com/#$(tidTitle)$
|
|
\end
|
|
|
|
<$set name="tidTitle" value={{!!title}}>
|
|
<$button message="tm-copy-to-clipboard" param=<<copier>> tooltip={{$:/sib/Buttons/CopyPublicZettelkastenLink!!caption}} class=<<tv-config-toolbar-class>>>
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
{{$:/core/images/permalink-button}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
|
<span class="tc-btn-text">
|
|
<$text text=" "/>
|
|
<$text text={{$:/sib/Buttons/CopyPublicZettelkastenLink!!caption}}/>
|
|
</span>
|
|
</$list>
|
|
</$button>
|
|
</$set> |