emplate id=&quot;my-label-button&quot;&gt;&lt;button onclick=&quot;console.log('This is an inline-handler');&quot;&gt;My button&lt;/button&gt;&lt;/template&gt;</code></pre>

	<p>For more flexibility, the Toolbar exposes a JavaScript function that can be used to register new buttons or labels to the Toolbar,
		<code>Prism.plugins.toolbar.registerButton</code>.</p>

	<p>The function accepts a key for the button and an object with a <code>text</code> property string and an optional
		<code>onClick</code> funct