Benutzer: Noeth/common.js: Unterschied zwischen den Versionen

Aus Joachim Camerarius (1500-1574)
Wechseln zu: Navigation, Suche
Keine Bearbeitungszusammenfassung
(Die Seite wurde geleert.)
 
Zeile 1: Zeile 1:
// Check if we're editing a page.
 
mw.hook( 'wikiEditor.toolbarReady' ).add( function ( $textarea ) {
// Configure a new toolbar entry on the given $textarea jQuery object.
$textarea.wikiEditor( 'addToToolbar', {
$textarea.wikiEditor( 'addToToolbar', {
sections: {
emoticons: {
type: 'toolbar', // Can also be 'booklet',
label: 'Emoticons'
// or labelMsg: 'section-emoticons-label' for a localized label
}
}
} );
} );
} );

Aktuelle Version vom 17. August 2022, 13:22 Uhr