portails/layouts/shortcodes/btn-copy.html

2 lines
144 B
HTML

<button class="btn-clipboard btn btn-sm btn-link" data-clipboard-text="{{ .Get "text" | safeHTML }}"><span class="copy-status"></span></button>