Widget:Copyable: Difference between revisions
testing Widgets |
add explicit <a> element on the outside |
||
| Line 1: | Line 1: | ||
< | <a href="javascript:(function(){this.select();document.execCommand('copy');})()"><pre><code><!--{$contents|escape:'html'}--></code></pre></a> | ||