blankyao封装的Discuz编辑器,采用UBB,加载速度比较快
使用方法
<?php
include("editor.class.php");
//把msg改为你需要的name
$editor=new DZeditor("msg");
//指定路径
$editor->basepath="./";
$editor->value='';
//指定大小
$editor->width="700px";
$editor->width="700px";
$editor->create();
?>
如果要返回html
$editor->createhtml();
原文载于
http://phpchina.com/bbs/thread-42513-1-2.html
作者:blankyao
本站下载
Discuz编辑器