8718
ediciones
m (adding {{anchor}} to dropdown) |
m (test) |
||
// Adding category button to the "main" section
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: '
group: '
tools: {
"category": {
// Adding image template button to the "main" section
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: '
group: '
tools: {
"image": {
//Add new references dropdown to the "advanced" section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: '
groups: {
list: {
options: {
pre: '{' + '{merge|',
post: '}}'
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'test': {
'type': 'toolbar',
'label': 'Test'
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'Test',
'groups': {
'testing': {
'label': 'Testing'
}
}
} );
};
|
ediciones