hi,
I purchased ckfinder, when I try to integrate with CKEditor the editor does not render, it's just a plain-ole textarea object.
I'm using CKEditor 4.1
Error: TypeError: b is undefined
Source File: ckeditor/ckeditor.js
Line: 285
here's the test.
<!doctype html> <html> <head> <title>boo</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="ckeditor/ckeditor.js"></script> <script type="text/javascript" src="ckfinder/ckfinder.js"></script> <script type="text/javascript"> var neditor = CKEDITOR.replace( 'neweditor' ); CKFinder.setupCKEditor( neditor, 'ckfinder/' ); </script> </head> <body> <textarea id="neweditor"></textarea> </body> </html>
CKEditor was previously working OK.
Thanks,
Put the call to replace the
Put the call to replace the textarea after you have added it to the content:
thanks
sweet, that fixed it, thanks :)
Another Way
Quit good Reference got on web:http://dwij.co.in/ckeditor-ckfinder-integration-using-php/
For others that may encounter
For others that may encounter this problem:
Make sure to include a lang and skins folder that is a sibling of the ckeditor.js path.