Does anyone know if there is a way to tell FCKEditor to run a javascript function when it is finished loading. Currently I have a layer over the editor saying "Please wait while it loads" I have a timer waiting a certain time before hiding the layer. However, I would prefer to have FCKEditor actually call the function to hide the layer when FCKEditor is done loading. Thanks in advance for any help.
Wed, 11/09/2005 - 20:19
#1
RE: On FCKEditor finished loading
If you have a function called FCKeditor_OnComplete on the page it will be called automaticall when each editor has finished loading and it will be passed the instance name of the editor (see below). This is part of the FCKeditor Javascript API which you can find at http://wiki.fckeditor.net/Developer%27s ... script_API
<script language="JavaScript" type="text/JavaScript">
function FCKeditor_OnComplete( editorInstance ){
alert(editorInstance);
}
</script>