On the same page I have 2 texarea. Being one of them is to be small and the other standard.
The default has autogrow and the small maximum height arrow of 100px.
The problem is that one setting overwrites the other.
if(cksize == "small"){
CKEDITOR.config.height = 100;
CKEDITOR.config.autoGrow_maxHeight = 100;
}else{
CKEDITOR.config.height = 0;
CKEDITOR.config.autoGrow_maxHeight = 0;
}
How can I pass these options on the json options?
CKEDITOR.replace(id, options);
Being within that options
would have all settings and height.