82,891
edits
Amwelladmin (talk | contribs) No edit summary |
Amwelladmin (talk | contribs) No edit summary |
||
Line 225: | Line 225: | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: ' | section: 'Manual', | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
Line 243: | Line 243: | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: ' | section: 'Manual', | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
Line 261: | Line 261: | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: ' | section: 'Manual', | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
Line 279: | Line 279: | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: ' | section: 'Manual', | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
Line 297: | Line 297: | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: ' | section: 'Manual', | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
Line 315: | Line 315: | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: ' | section: 'Manual', | ||
group: 'format', | group: 'format', | ||
tools: { | tools: { | ||
Line 331: | Line 331: | ||
} | } | ||
} | } | ||
}); | }); | ||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'Manual', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: 'MSG2010', | |||
type: 'button', | |||
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{Manual|MSG|2010|", | |||
post: "|Clause||medium}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'Manual', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: 'MRG2000', | |||
type: 'button', | |||
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{Manual|MRG|2000|", | |||
post: "|Paragraph||medium}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | |||
section: 'Manual', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: 'MCAN2016', | |||
type: 'button', | |||
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{Manual|DEQ|2002|", | |||
post: "|Section||medium}}" | |||
} | |||
} | |||
} | |||
} | |||
}); | |||
$('#wpTextbox1').wikiEditor('addToToolbar', { | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: 'advanced', | section: 'advanced', | ||
Line 460: | Line 514: | ||
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { | ||
'sections': { | 'sections': { | ||
' | 'Manual': { | ||
'type': 'toolbar', // Can also be 'booklet' | 'type': 'toolbar', // Can also be 'booklet' | ||
'label': ' | 'label': 'Manual' | ||
// or 'labelMsg': 'section- | // or 'labelMsg': 'section-manual-label' for a localized label | ||
} | } | ||
} | } |