#3200: MediaWiki Trial Run (CKEdior)
---------------------+------------------------------------------------------
Reporter: kenyu73 | Owner:
Type: Bug | Status: new
Priority: Normal | Milestone:
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
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;
}
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/3200>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac