Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add className option for toolbar items (#1951)
Allows for passing in a className when registering a toolbar button to allow to target via CSS. An example: ```js Prism.plugins.toolbar.registerButton( 'my-button', { text: 'My Button', className: 'my-button', }); ``` This will add the span element `<span class="my-button">My Button</span>` .
- Loading branch information