Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: smd_copy_url: Copy article URL to the clipboard
phiw13 wrote #338980:
Did you try the markup + styling suggested in this post: forum.textpattern.com/viewtopic.php?pid=338965#p338965?
Yes, exactly. And it worked fine until I ditched the SVG in favour of the built-in copy icon.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
Re: smd_copy_url: Copy article URL to the clipboard
Two examples with .ui-icon
sets:
Demo: dev.l-c-n.com/txp-4.9/txp-content-list-articles.html – row 2 and row 3 in the table.
The first one uses .ui-icon-copy
, the second one .ui-icon-clipboard
.
Markup:
<button class="txp-reduced-ui-button smd_url_copy_button" aria-label="copy URL">
<span class="ui-icon ui-icon-copy"></span>
</button>
Same style rules as given above. Please improve the text string in the aria-label
– e.g. “copy article URL to the clipboard” ?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline