Zkoušel jsem to takto<button onclick="insertText('<code class="style"></code>')">insertText</button>ale nejde to:(