[jQuery] Re: more ckeditor

2009-12-17 Thread Mean Mike
I haven't played with the samples . CKEDITOR API is well documented is just the jquery implementation that I'm having trouble with it seems that you would be right but I do I know when $ (#fck).ckeditor() returns ? the problem seems to me that CKedtior.js isn't loaded until $ (#fck).ckeditor()

[jQuery] Re: more ckeditor

2009-12-17 Thread Scott Sauyet
On Dec 17, 8:48 am, Mean Mike mcgra...@gmail.com wrote: I haven't played with the samples . CKEDITOR API is well documented is just the jquery implementation that I'm having trouble with Yes, the documentation for the plug-in seems pretty vague. But I couldn't really find the syntax above in

[jQuery] Re: more ckeditor

2009-12-17 Thread Mean Mike
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

[jQuery] Re: more ckeditor

2009-12-17 Thread Scott Sauyet
On Dec 17, 1:02 pm, Mean Mike mcgra...@gmail.com wrote: so I tried that and of course I get CKEDITOR not defined ... Bummer! so I figure ot I'll wait for I try it this way         $('#fck').ckeditor();         var wait = setTimeout(function() {                 if( $.ckeditor.instance(fck))

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:10 pm, Mean Mike mcgra...@gmail.com wrote: I can't seem to get anything out of the new jquery ckeditor plugin I can have it load a an editor no problem but I need to do more than just that a good starting point would be for me to be able to something like var foo =

[jQuery] Re: more ckeditor

2009-12-16 Thread Mean Mike
maybe I have something setup wrong but every time I run that I get an js error CKEDITOR is not defined on line 32 of jquery.CKEditor.js On Dec 16, 2:44 pm, Scott Sauyet scott.sau...@gmail.com wrote: On Dec 16, 2:10 pm, Mean Mike mcgra...@gmail.com wrote: I can't seem to get anything out of

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 2:57 pm, Mean Mike mcgra...@gmail.com wrote: maybe I have something setup wrong but every time I run that I get an js error CKEDITOR is not defined on line 32 of jquery.CKEditor.js Have you done this?: $.ckeditor.config = {path: '/path/to/ckeditor/directory/', height: 300 }; It

[jQuery] Re: more ckeditor

2009-12-16 Thread Mean Mike
Scott, thanks for your replies I did get this to work $('#test').click(function(){ alert($.ckeditor.instance(fck).getData()); }); fck i the id of the textarea I'm using now this works because by

[jQuery] Re: more ckeditor

2009-12-16 Thread Scott Sauyet
On Dec 16, 4:07 pm, Mean Mike mcgra...@gmail.com wrote: now this works because by the time i press the button the ckeditor is load so now I'm trying to figure out when it is load so I can apply things to it once its loaded rather than have a user click a button. Man, there is a lot of