There are many <pre>текст</pre> blocks on the page. You need a script that when you hover the mouse cursor and if you touch the block with your finger, the HTML button is activated inside the pre block.
Like this:
<pre><button data-clipboard-target="pre">Copy</button>текс</pre>
This is necessary not to create for each block id or class, and a button for them.
<pre onmouseover="mOver(this)" onmouseout="mOut(this)", а innerHTML='<button data-clipboard-target="pre">'But there is a replacement, so it’s not necessary of course. PS jQury do not connect, it is not needed. - Viher