I have a project with multiple instances of ckeditor 3.1. I use jquery.
How i can easy change for example the height of only one instance?
Is there a way like:
<textarea class="ckeditor" height="100px" name="editor 1">lkjlkj</textarea>
<textarea class="ckeditor" height="200px" name="editor 2">lkjlkj</textarea>
How i can easy change for example the height of only one instance?
Is there a way like:
<textarea class="ckeditor" height="100px" name="editor 1">lkjlkj</textarea>
<textarea class="ckeditor" height="200px" name="editor 2">lkjlkj</textarea>

Re: how to change the height for one ckeditor, not all?
CKEDITOR.replace("editor1", { height: 100 }); CKEDITOR.replace("editor2", { height: 200 });Re: how to change the height for one ckeditor, not all?
Re: how to change the height for one ckeditor, not all?
A solution I use to resize textarea's on the fly is:
$(document).ready(function(){
$('.ckeditor').each(function(){
if($(this).attr('height')) {
CKEDITOR.replace($(this).attr('name'),
{
height: $(this).attr('height')
});
}
});
});
Re: how to change the height for one ckeditor, not all?
Read the below article. There you will get to know step by step procedure of changint height of ckeditor.
http://www.stepcoder.com/Articles/10003/how-to-set-or-change-height-of-ckediotr-textbox-area-using-asp-net
Hope this Helps..