CI 集成 FCKEditor 后,怎么调整FCKEditor的大小啊?
按照Hex提供的步骤,加载成功了,但是调textarea的高和宽,FCK却没有变化,为什么?要在哪里修改才能控制啊? 应该在fckeditor.js里面修改这个吧var FCKeditor = function( instanceName, width, height, toolbarSet, value )
{
// Properties
this.InstanceName = instanceName ;
this.Width = width || '100%' ;
this.Height = height || '200' ;
this.ToolbarSet = toolbarSet || 'Default' ;
this.Value = value || '' ;
this.BasePath = FCKeditor.BasePath ;
this.CheckBrowser = true ;
this.DisplayErrors = true ;
this.Config = new Object() ;
// Events
this.OnError = null ; // function( source, errorNumber, errorDescription )
}
fck没成功过,改用百度的editor,这个比较方便。 找到了,就是在fckeditor.js里修改的。
页:
[1]