> Perhaps just this, then: > > $("#fck").ckeditor() > CKEDITOR.on( 'instanceReady', function(event) { > // your code here > }); > > It's worth a try in any case.
so I tried that and of course I get CKEDITOR not defined ... so I figure ot I'll wait for I try it this way $('#fck').ckeditor(); var wait = setTimeout(function() { if( $.ckeditor.instance("fck")) { var editor = $.ckeditor.instance("fck"); editor.document.on("keyup",function(e){ alert("keyup"); }); clearTimeout(wait); } }, 2000); and this works because it waits for the editor to load but it seems to me there should be a better way