User:DanielNL/common.js: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "$( document ).ready( function() { mw.hook( 'wikiEditor.toolbar' ).add( function( $toolbar ) { // Click the Preview button to activate right-side pane $toolbar.find( '.tool[rel="realtimepreview"]' ).trigger( 'click' ); } ); } );")
 
(not working)
Tag: Blanking
 
Line 1: Line 1:
$( document ).ready( function() {
 
    mw.hook( 'wikiEditor.toolbar' ).add( function( $toolbar ) {
        // Click the Preview button to activate right-side pane
        $toolbar.find( '.tool[rel="realtimepreview"]' ).trigger( 'click' );
    } );
} );

Latest revision as of 18:42, 20 January 2026