配制FCKeditor

贺浩壤
2023-12-01



//通过创建实例创建
<?php
include_once("FCKeditor/fckeditor.php");//引用FCKeditor.php文件
$FCKeditor=new FCKeditor('content');//创建FCKeditor对象的实例,可以通过$_POST['content']或$_GET['content']将内容写入数据库或其它页面
$FCKeditor->BasePath='FCKeditor/';//FCKeditor所在的位置
$FCKeditor->ToolbarSet='Default';//工具按钮设置
$FCKeditor->Width='100%';//设置它的宽度
$FCKeditor->Height='300px';//设置它的高度
$FCKeditor->Create();
?>
 类似资料: