But I use PHP framework where I define textareas in class using special method - I can only define CKEDITOR in secion <head> - what when I have 23 textareas and they have different size ? TinyMCE use size of textarea based on rows and cels textarea !! Why CKEDITOR can't use rows and cels textarea to define size ?? So CKEDITOR isn't for frameworks !! So I must use TinyMCE editor - sad.......
Can anyone address this? I'm using shared spaces and have multiple text areas. It appears that CKEditor resizes my text areas to something much smaller than what they originally were when the page loads. How can I force CKEditor to take on the sizing of the text areas as they are loaded into the page when page loads?
I agree, CKEditor default size should follow the dimensions of the textarea it's replacing. An additional benefit of this would be the possibility to use CSS to fully control the editor size: just put the dimensions on the textarea class, and the editor will behave accordingly.
That would be a great benefit for anyone who tries to follow good practices to the detail: having styling rules on CSS, and then the editor size on config.js, or even passing a .config.height = 300; when creating the editor is just not clean enough. CKEditor is great and excels in so many aspects, this sizing weirdness is one of my only complaints.
Re: ckeditor as big as textarea
check out the ckeditor API page for size and resizing options to add to the config.js file
http://docs.cksource.com/ckeditor_api/s ... onfig.html
Re: ckeditor as big as textarea
Re: ckeditor as big as textarea
Example is for 500x600px:
As values you may use pixels, em, or % (no % for height!)
Here some valid examples:
You can't set width and height as lines and rows, at least not as far as I know.
Re: ckeditor as big as textarea
Re: ckeditor as big as textarea
Thanks
I agree, CKEditor default
I agree, CKEditor default size should follow the dimensions of the textarea it's replacing. An additional benefit of this would be the possibility to use CSS to fully control the editor size: just put the dimensions on the textarea class, and the editor will behave accordingly.
That would be a great benefit for anyone who tries to follow good practices to the detail: having styling rules on CSS, and then the editor size on config.js, or even passing a .config.height = 300; when creating the editor is just not clean enough. CKEditor is great and excels in so many aspects, this sizing weirdness is one of my only complaints.
I created a ticket requesting
I created a ticket requesting this feature and linking back to this post three years ago, but as you can see nothing has been done at all:
http://dev.ckeditor.com/ticket/5153