Diferencia entre revisiones de «Usuario:Argent/common.js»

Ir a la navegación Ir a la búsqueda
m
m
 
var customizeToolbar = function() {
// add a <br/> button that clears right-aligned items
/* Your code goes here */
// <br style="clear:right;"/>
// TODO: Insert gallery button/link
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advancedmain',
group: 'insert',
tools: {
"category": {
label: 'Categorybr',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/21/2d13/Button_clipboard_categoryButton_enter.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Category:<br style="clear:right;\"",
post: "]]\"/>"
}
}
}
}
}); //
 
};
}; // customizeToolbar
 
/*