Hi All,
I am using FCKEditor 2.6.5 in my webapplication.
I am using following code to create fckEditor on my webpage.
I want to set the width of editor area dynamically while generating FCKEditor.
The line : oFCKeditor.Width = 650; ...is setting width of whole FCKEditor. But I want to set the width of only editor area to a different value (which is dynamic)..
Is there any FCK Editor property which I can use for this while creating FCKEditor ? Or is there any other way to achieve this?
I am using FCKEditor 2.6.5 in my webapplication.
I am using following code to create fckEditor on my webpage.
var oFCKeditor = new FCKeditor( 'description' ) ; oFCKeditor.Config['EditorAreaCSS'] = '<%=oDocumentEdit.call ("Get_WebsiteCSSUrl")%>/ElectosStyles.css' ; oFCKeditor.ToolbarSet = "Electos"; oFCKeditor.BasePath = "../FCKeditor/"; oFCKeditor.Width = 650; oFCKeditor.Height = 210; oFCKeditor.Config['StyleNames'] = ';Emphasized Text;Heading 1;Heading 2;Heading 3;Normal' ; oFCKeditor.Config['StyleValues'] = ';EmphasizedText;Heading1;Heading2;Heading3;Normal' ; oFCKeditor.Value = '<%= sDescription%>'; oFCKeditor.Create() ;
I want to set the width of editor area dynamically while generating FCKEditor.
The line : oFCKeditor.Width = 650; ...is setting width of whole FCKEditor. But I want to set the width of only editor area to a different value (which is dynamic)..
Is there any FCK Editor property which I can use for this while creating FCKEditor ? Or is there any other way to achieve this?