Tuesday, 27 August 2013

How to retrieve the CKEDITOR.status "ready"?

How to retrieve the CKEDITOR.status "ready"?

In my script, I wanted to wait for the CKEDITOR to be in state ready
before I let my own instructions go their way. So I consulted the CKEDITOR
API and wrote the following condition:
if(CKEDITOR.status == "ready"){
//execute my code when ready
}
However, the status never ever changes to from loaded to status.
Apparently I didn even see any other state.
Any clues?

No comments:

Post a Comment