MediaWiki:Common.js: Difference between revisions
Jump to navigation
Jump to search
Amwelladmin (talk | contribs) (Undo revision 10162 by Amwelladmin (talk)) |
Amwelladmin (talk | contribs) (Replaced content with "var customizeToolbar = function() { $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "strikethrough": { label: 'Strike'...") |
||
Line 19: | Line 19: | ||
}); | }); | ||
}; | }; | ||
Revision as of 11:03, 22 December 2015
var customizeToolbar = function() { $('#wpTextbox1').wikiEditor('addToToolbar', { section: 'advanced', group: 'format', tools: { "strikethrough": { label: 'Strike', type: 'button', icon: '//upload.wikimedia.org/wikipedia/commons/3/30/Btn_toolbar_rayer.png', action: { type: 'encapsulate', options: { pre: "<s>", post: "</s>" } } } } }); };