mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-15 03:35:58 +00:00
84926bbd33
WikiEditor works in all browsers that MW supports, and should do going forward. Change-Id: I189516917d805dff3819e742a9fd8ad96a161159
11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
/*
|
|
* JavaScript for WikiEditor Dialogs
|
|
*/
|
|
jQuery( function ( $ ) {
|
|
// Replace icons
|
|
$.wikiEditor.modules.dialogs.config.replaceIcons( $( '#wpTextbox1' ) );
|
|
|
|
// Add dialogs module
|
|
$( '#wpTextbox1' ).wikiEditor( 'addModule', $.wikiEditor.modules.dialogs.config.getDefaultConfig() );
|
|
} );
|