How do I change the width of an EXISTING editor?
I created an editor with a certain height/width. Now I want to change the height/width it without creating a new editor (performance, causes the inner data to be lost, loses connection to items that point on it etc). How do I do that?
I created an editor with a certain height/width. Now I want to change the height/width it without creating a new editor (performance, causes the inner data to be lost, loses connection to items that point on it etc). How do I do that?
Re: How do I change the width of an EXISTING editor?
var editor = CKEDITOR.replace( 'yourtxtAreaName',
{
height:"500", width:"800"
});
Re: How do I change the width of an EXISTING editor?
I create it like that:
function InitRTE()
{
oFCKeditor1 = new FCKeditor( 'FCKeditor_1' ) ;
oFCKeditor1.BasePath = "../fckeditor/fckeditor/";
oFCKeditor1.ToolbarSet = "BT";
oFCKeditor1.Height = 100 ;
oFCKeditor1.Width = 200 ;
oFCKeditor1.Config[ 'ToolbarLocation' ] = 'Out:toolbar1' ;
oFCKeditor1.Value = 'Paste your <b>Free Part</b> Here' ;
oFCKeditor1.Create() ;
document.getElementById("toolbar2").style.visibility="hidden";
}
and get the instance like that:
var oEditor = FCKeditorAPI.GetInstance('FCKeditor_1') ;
but I don't know how to change the size...