Jump to content

MediaWiki:Common.js: Difference between revisions

From wiki.comicsgate.org
mNo edit summary
m Blanked the page
Tag: Blanking
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
setTimeout(function(){
var $ = jQuery;
if(RLCONF.wgUserGroups.length>1)
{ $('#p-tb').css('display','block');
  if(top.location.href.includes('action=edit'))
  {
    mw.loader.load( 'https://cdn.jsdelivr.net/npm/tinymce@6.4.0/tinymce.min.js' );
    mw.loader.load( 'https://cdn.jsdelivr.net/npm/tinymce@6.4.0/skins/ui/oxide/content.min.css' );
    setTimeout(function(){ 
      tinymce.init({
        selector: '#wpTextbox1'
      });  },300);


    }
}
  console.log('Ready');
},300);

Latest revision as of 04:37, 13 December 2024