83,229
edits
Amwelladmin (talk | contribs) No edit summary |
Amwelladmin (talk | contribs) No edit summary |
||
Line 40: | Line 40: | ||
}); | }); | ||
}; | }; | ||
var customizeToolbar = function() { | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"gmslaprov": { | |||
label: 'gmslaprov', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/e/ed/G.PNG', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{gmslaprov|", | |||
post: "}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
}; | |||
var customizeToolbar = function() { | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"gmraprov": { | |||
label: 'grmaprov', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/e/ed/gmr.PNG', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{gmraprov|", | |||
post: "}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
}; | |||
var customizeToolbar = function() { | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"Substitute": { | |||
label: 'subst:', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/e/ed/Sbs.PNG', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{subst:", | |||
post: "}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
}; | |||
var customizeToolbar = function() { | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"Equity Derivs": { | |||
label: 'eqderivprov', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/e/ed/Eq.PNG', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{eqderivprov|", | |||
post: "}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
}; | |||
var customizeToolbar = function() { | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: '{{ - }}', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/e/ed/template.PNG', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{", | |||
post: "}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
}; | |||
var customizeToolbar = function() { | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"ISDAprov": { | |||
label: 'isdaprov', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/e/ed/Button_I.PNG', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{isdaprov|", | |||
post: "}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
}; | |||
/* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ | /* Check if view is in edit mode and that the required modules are available. Then, customize the toolbar … */ |