2 * JavaScript for WikiEditor Toolbar
4 jQuery( function ( $ ) {
5 if ( !$.wikiEditor.isSupported( $.wikiEditor.modules.toolbar ) ) {
6 $( '.wikiEditor-oldToolbar' ).show();
9 // The old toolbar is still in place and needs to be removed so there aren't two toolbars
10 $( '#toolbar' ).remove();
12 // TODO: Implement .wikiEditor( 'remove' )
13 $( '#wpTextbox1' ).wikiEditor(
14 'addModule', $.wikiEditor.modules.toolbar.config.getDefaultConfig()