mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-12-18 11:01:36 +00:00
4fa41179e8
Bug: T208951 Change-Id: I0b2993912de221e810414e46708c19be163922f6
13 lines
357 B
JavaScript
13 lines
357 B
JavaScript
/*
|
|
* JavaScript for WikiEditor Toolbar
|
|
*/
|
|
$( function () {
|
|
// The old toolbar is still in place and needs to be removed so there aren't two toolbars
|
|
$( '#toolbar' ).remove();
|
|
// Add toolbar module
|
|
// TODO: Implement .wikiEditor( 'remove' )
|
|
$( '#wpTextbox1' ).wikiEditor(
|
|
'addModule', $.wikiEditor.modules.toolbar.config.getDefaultConfig()
|
|
);
|
|
} );
|