83,050
edits
Amwelladmin (talk | contribs) No edit summary |
Amwelladmin (talk | contribs) No edit summary |
||
Line 273: | Line 273: | ||
type: 'encapsulate', | type: 'encapsulate', | ||
options: { | options: { | ||
pre: "{{ | pre: "{{fullanat2|AGMT|CLAUSE|EDITION|CLAUSE|EDITION}}", | ||
post: "" | post: "" | ||
} | } | ||
Line 280: | Line 280: | ||
} | } | ||
}); | }); | ||
}; | $('#wpTextbox1').wikiEditor('addToToolbar', { | ||
section: 'advanced', | |||
group: 'format', | |||
tools: { | |||
"template": { | |||
label: 'FullAnatOpen', | |||
type: 'button', | |||
icon: 'http://amwellclear.co.uk/w/images/2/22/Vector_toolbar_bold_F2_button.png', | |||
action: { | |||
type: 'encapsulate', | |||
options: { | |||
pre: "{{fullanatopen|AGMT|{{AGMTquote|CLAUSE}}<br>{{AGMTquote|CLAUSE}}}}", | |||
post: "" | |||
} | |||
} | |||
} | |||
} | |||
});}; | |||