Widget:Copyable: Difference between revisions

From The Toaq Wiki
(add explicit <a> element on the outside)
(remove <code> (…mediawiki??))
 
Line 1: Line 1:
<a href="javascript:(function(){this.select();document.execCommand('copy');})()"><pre><code><!--{$contents|escape:'html'}--></code></pre></a>
<a href="javascript:(function(){this.select();document.execCommand('copy');})()"><pre><!--{$contents|escape:'html'}--></pre></a>

Latest revision as of 13:27, 20 December 2022

<a href="javascript:(function(){this.select();document.execCommand('copy');})()">

<!--{$contents|escape:'html'}-->

</a>