I have multiple editors open on the screen and would like them to load with the toolbar collapsed. I can't seem to find out what function to call in an onLoad? Or if that is even the best way to accomplish this. Furthermore, if there are simple function calls I would like to expand/collapse the toolbar onFucus and onBlur could this be done as well? Thanks for any help!
Thu, 01/04/2007 - 08:03
#1
RE: Start with Toolbar collapsed?
change:
FCKConfig.ToobarStartExpanded = true;
to:
FCKConfig.ToobarStartExpanded = false;
RE: Start with Toolbar collapsed?
RE: Start with Toolbar collapsed?
Are there any function calls I can make to expand and collapse the toolbar say on an onMouseOver/onMouseOut event?
RE: Start with Toolbar collapsed?
var oFCKeditor = new FCKeditor( 'header_message' ) ;
oFCKeditor.BasePath = "/MypathToEditor/FCKeditor/";
oFCKeditor.Config["ToolbarStartExpanded"] = false;
oFCKeditor.ReplaceTextarea();
This will replace the text area on the page with id header_message with an FCKEditor window with the toolbar collapsed.
RE: Start with Toolbar collapsed?