2008年9月30日 星期二

fckeditor 設定範例

$oFCKeditor = new FCKeditor('cust_rem') ;
$oFCKeditor->BasePath = '../fckeditor/' ;
$oFCKeditor->ToolbarSet = 'MyCustom';
//set the EnterMode to "br" (overwrites the default configuration from fckconfig.js)
$oFCKeditor->Config['EnterMode'] = 'br';
$oFCKeditor->Value = '' ;
$oFCKeditor->Create() ;

沒有留言: