Diferencia entre revisiones de «Usuario:King of Herdaz/common.js»

m
Undo revision 157808 by King of Herdaz (talk) great. that's how that works
m
m (Undo revision 157808 by King of Herdaz (talk) great. that's how that works)
Etiqueta: Deshacer
var customizeToolbar = function() {
/* Your code goes here */
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'test': {
'type': 'toolbar',
'label': 'Test'
}
}
} );
 
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'Test',
'groups': {
'testing': {
'label': 'Testing'
}
}
} );
 
//add new section to editing toolbar
// Adding category button to the "main" section
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'testmain',
group: 'testinginsert',
tools: {
"category": {
// Adding image template button to the "main" section
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'testmain',
group: 'testinginsert',
tools: {
"image": {
//Add new references dropdown to the "advanced" section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
section: 'testadvanced',
groups: {
list: {
8718

ediciones