Editors, Administradores de interfaz, Keepers
4117
ediciones
m |
m |
||
}
}
}); // <br> button
// add a <gallery> button for easy artist page initialization
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'main',
group: 'insert',
tools: {
"category": {
label: 'artist-gallery',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/d/d8/Vector_toolbar_insert_image_button.png',
action: {
type: 'encapsulate',
options: {
pre: "<gallery mode=\"packed\" heights=250px caption=\"Gallery\">",
post: "</gallery>"
}
}
}
}
}); // <gallery> button
}; // customizeToolbar
|