8718
ediciones
m (test) |
m (Undo revision 157766 by King of Herdaz (talk) So they don't even need to be split over separate lines) Etiqueta: Deshacer |
||
// Adding a <code> button to the "main" section
$('#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'main',
group: 'insert',
tools: {
"code": {
label: 'Code',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/23/Button_code.png',
action: {
type: 'encapsulate',
options: {
pre: '<' + 'code>',
post: '</' + 'code>'
}
}
}
}
});
// Adding an art infobox button to the "main" section
|
ediciones