<script type="text/javascript">
function FCKeditor_OnComplete( editorInstance )
{
var oEditor = FCKeditorAPI.GetInstance( editorInstance.Name ) ;
oEditor.Commands.GetCommand(\'FitWindow\').Execute();
}
</script>How can I change this code to run on CKEditor 3.0RC?

The FCK_OnComplete equivalent in v3 is the 'instanceReady' event, so you may use the following codes, we'll have APIs like this in documentation after v3 come to final release.
CKEDITOR.on('instanceReady', function( evt ) { var editor = evt.editor; ... });But I still can not use this option.
How should this line be on Ckeditor 3.0?
Very interested in this too... please provide us more information
CKEDITOR.on('instanceReady', function( evt ) { var editor = evt.editor; editor.execCommand('maximize'); });http://dev.fckeditor.net/ticket/4509
with the latest version of ckeditor and got the following error:
happening at
I tried setting inside the config.js and inside my html code, but no luck. any ideas?
I tried "hide - maximize - show", but can't get it to work with the events given by CKEditor.
</body> <script type="text/javascript"> //window.onload = function () { CKEDITOR.replace('CKEditor1', { on: { 'instanceReady': function (evt) { evt.editor.execCommand('maximize'); } }}); //} </script> </html>