php 中的FCKeditor,我想在FCKeditor文件夹外面调用fckeditor,怎么配置?
php 中的FCKeditor,我想在FCKeditor文件夹外面调用fckeditor,怎么配置?
日期:2011-06-02 10:32:34 人气:3
先要在你想调用编辑器的文件中引用:include "fckeditor/fckeditor.php";
然后在你想放编辑器的地方写上:
<?php
$oFCKeditor = new FCKeditor('content') ;
$oFCKeditor->BasePath = 'fckeditor/' ;
$oFCKeditor->ToolbarSet = 'Default' ;