php 中的FCKeditor,我想在FCKeditor文件夹外面调用fckeditor,怎么配置?
先要在你想调用编辑器的文件中引用尘携歼:include "fckeditor/fckeditor.php";
然后在你想放编辑器的地方写上:
<?php
$oFCKeditor = new FCKeditor('content') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
$oFCKeditor->ToolbarSet = 'Default'派冲 ;
$oFCKeditor->InstanceName = 'content' ;
$oFCKeditor->Width = '100%' ;
$oFCKeditor->Height = '400' ;
$oFCKeditor->Value = '';
$oFCKeditor->Create() ;
?>隐粗