Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
09-20-2011, 10:06 PM #1
- Join Date
- May 2011
- Thanked 0 Times in 0 Posts
I'm trying to get the textarea text editor plugin CKEditor to work on my project. I'm using cakephp and following this simple tutorial amilan.wordpress.com/2010/01/28/ckeditor-integration-in-cakephp which basically tells that once I've included jquery and ckeditor then all I need to do to create a ckeditor textarea is:
echo $form->textarea('content', array('id'=>'content','class'=>'ckeditor'));
That all works fine except I can't resize the textarea at all. I've tried with css and putting 'cols' and 'rows' in there but to no avail. When I remove the ckeditor class it does work so I think it's something to do with the config.
There is a config.js file which you can fiddle with but I don't know enough to know what to do to alter the height and width. Can anyone help me? The relevant bit of the documentation is http://docs.cksource.com/CKEditor_3....Configurations
thanks if anyone can help me