Extension:WikiEditor/Toolbar customization/Library

To use these snippets, you need to paste them in your common.js page, inside a  hook handler (as described in the basic setup section).

Strikethrough button
This puts the button in the "Advanced" section of the toolbar. To put it in the top section of the toolbar instead, replace  with.

Horizontal line button
This puts the button in the "Advanced" section of the toolbar. To put it in the top section of the toolbar instead, replace  with. The button uses the old toolbar's horizontal line image; to change this, change the URL after.