2017-12-16 10:58:33 +00:00
|
|
|
title: $:/core/macros/copy-to-clipboard
|
|
|
|
tags: $:/tags/Macro
|
|
|
|
|
|
|
|
\define copy-to-clipboard(src,class:"tc-btn-invisible",style)
|
2022-04-16 16:19:05 +00:00
|
|
|
\whitespace trim
|
2017-12-16 10:58:33 +00:00
|
|
|
<$button class=<<__class__>> style=<<__style__>> message="tm-copy-to-clipboard" param=<<__src__>> tooltip={{$:/language/Buttons/CopyToClipboard/Hint}}>
|
2022-04-16 16:19:05 +00:00
|
|
|
{{$:/core/images/copy-clipboard}}
|
|
|
|
 
|
|
|
|
<$text text={{$:/language/Buttons/CopyToClipboard/Caption}}/>
|
2017-12-16 10:58:33 +00:00
|
|
|
</$button>
|
|
|
|
\end
|
|
|
|
|
|
|
|
\define copy-to-clipboard-above-right(src,class:"tc-btn-invisible",style)
|
2022-04-16 16:19:05 +00:00
|
|
|
\whitespace trim
|
2017-12-16 10:58:33 +00:00
|
|
|
<div style="position: relative;">
|
|
|
|
<div style="position: absolute; bottom: 0; right: 0;">
|
|
|
|
<$macrocall $name="copy-to-clipboard" src=<<__src__>> class=<<__class__>> style=<<__style__>>/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
\end
|