Please remember that WiKirby contains spoilers, which you read at your own risk! See our general disclaimer for details.
MediaWiki:Common.js: Difference between revisions
From WiKirby, your independent source of Kirby knowledge.
Jump to navigationJump to search
(Trying something out. Will revert if it doesn't work.) Tag: Reverted |
(Undo revision 413784 by Samwell (talk) Maybe caching is the issue here? Let's leave this on for a bit.) Tag: Undo |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$( '#wpTextbox1' ).wikiEditor( 'removeFromToolbar', { | mw.hook( 'wikiEditor.toolbarReady' ).add( function ( $textarea ) { | ||
$( '#wpTextbox1' ).wikiEditor( 'removeFromToolbar', { | |||
'section': 'main', | 'section': 'main', | ||
'group': 'insert', | 'group': 'insert', | ||
'tool': 'file' | 'tool': 'file' | ||
}); | }); | ||
} ); |
Latest revision as of 03:56, 20 March 2023
mw.hook( 'wikiEditor.toolbarReady' ).add( function ( $textarea ) { $( '#wpTextbox1' ).wikiEditor( 'removeFromToolbar', { 'section': 'main', 'group': 'insert', 'tool': 'file' }); } );