|
|
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
section: 'main',
groups 'info': {
'type ': ' selectbooklet', ▼
list: {
tools'label': {'Info'
templates: {
label: 'Templates',
list: {
'Ping-button': {
label: '{{Ping}}',
action: {
type: 'encapsulate',
options: {
pre: '{{Ping|',
post: '}}'
}
}
},
'Clear-button': {
label: 'Clear',
action: {
type: 'encapsulate',
options: {
pre: '{{Clear}}'
}
}
},
'Done-button': {
label: 'Done',
action: {
type: 'encapsulate',
options: {
pre: '{{Done}}'
}
}
}
}
}
}
}
}
|