83,492
edits
Amwelladmin (talk | contribs) No edit summary |
Amwelladmin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
var customizeToolbar = function() { | var customizeToolbar = function() { | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: 'advanced', | section: 'advanced', | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
" | "redirect": { | ||
label: ' | label: '==>', | ||
type: 'button', | type: 'button', | ||
icon: 'http://amwellclear.co.uk/w/images/ | icon: 'http://amwellclear.co.uk/w/images/9/91/Redirect.png', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: " | pre: "#redirect[[", | ||
post: " | post: "]]" | ||
} | } | ||
} | } | ||
Line 23: | Line 24: | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
" | "ISDAprov": { | ||
label: ' | label: 'isdaprov', | ||
type: 'button', | type: 'button', | ||
icon: 'http://amwellclear.co.uk/w/images/ | icon: 'http://amwellclear.co.uk/w/images/e/ed/Button_I.PNG', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: " | pre: "{{isdaprov|", | ||
post: " | post: "}}" | ||
} | } | ||
} | } | ||
Line 37: | Line 38: | ||
} | } | ||
}); | }); | ||