﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3200	MediaWiki Trial Run (CKEditor)	Eruc		"I setup CKEditor in the following manner and it works as expected except... the Style, Font, etc drop-downs dont work? Any recommendations.

----

{{{

$wgHooks['EditPage::showEditForm:initial'][] 	= 'showEditForm';
function showEditForm($form){
	global $wgOut;
	$wgOut->addScriptFile( '/mediawiki/extensions/ckeditor/ckeditor/ckeditor.js' );
	$script =
		""<script type=\""text/javascript\"">
			window.onload = function()
			{
				CKEDITOR.replace( 'wpTextbox1' );
			};
			  if ( window.removeEventListener )
				window.removeEventListener( 'load', mwSetupToolbar, false ) ;
			  else if ( window.detachEvent )
				window.detachEvent( 'onload', mwSetupToolbar ) ;		
		</script>"";	
	
	$wgOut->addHTML($script);
	
	return true;
}
}}}
"	Bug	closed	Normal		General	3.0 Beta 2	invalid		Eruc
