82,891
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', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: 'long dash', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/5/55/Dash.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "—", | |||
post: "" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: 'scarequotes', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/6/65/Quotes.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "“", | |||
post: "”" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: 'apostrophe', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/5/57/Apostrophe.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "’", | |||
post: "" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: 'advanced', | section: 'advanced', | ||
Line 38: | Line 92: | ||
} | } | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: 'advanced', | section: 'advanced', | ||
Line 178: | Line 230: | ||
tools: { | tools: { | ||
"template": { | "template": { | ||
label: ' | label: 'MCAE1995', | ||
type: 'button', | type: 'button', | ||
icon: ' | icon: 'https://jollycontrarian.com/images/b/b3/MCAE1995.png', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: "{{ | pre: "{{Manual|MCAE|1995|", | ||
post: "| | post: "|Paragraph||medium}}" | ||
} | } | ||
} | } | ||
Line 196: | Line 248: | ||
tools: { | tools: { | ||
"template": { | "template": { | ||
label: ' | label: 'MCAE2016', | ||
type: 'button', | type: 'button', | ||
icon: ' | icon: 'https://jollycontrarian.com/images/7/7d/MCAE2016.png', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: "{{ | pre: "{{Manual|MCAE|2016|", | ||
post: "| | post: "|Paragraph||medium}}" | ||
} | } | ||
} | } | ||
Line 214: | Line 266: | ||
tools: { | tools: { | ||
"template": { | "template": { | ||
label: ' | label: 'MCAN1994', | ||
type: 'button', | type: 'button', | ||
icon: ' | icon: 'https://jollycontrarian.com/images/4/44/MCAN1994.png', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: "{{ | pre: "{{Manual|MCAN|1994|", | ||
post: "|}}" | post: "|Paragraph||medium}}" | ||
} | } | ||
} | } | ||
Line 232: | Line 284: | ||
tools: { | tools: { | ||
"template": { | "template": { | ||
label: ' | label: 'MCAN2016', | ||
type: 'button', | type: 'button', | ||
icon: ' | icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png', | ||
action: { | action: { | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: " | pre: "{{Manual|MCAN|2016|", | ||
post: " | post: "|Paragraph||medium}}" | ||
} | } | ||
} | } | ||
Line 263: | Line 297: | ||
} | } | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: 'advanced', | section: 'advanced', | ||
Line 294: | Line 329: | ||
pre: "{{manual|MI|1992|", | pre: "{{manual|MI|1992|", | ||
post: "Section||medium}}" | post: "Section||medium}}" | ||
} | } | ||
} | } |