1、后台对应字段修改为text类型
2、前台的对应字段改为textarea型,以下例子id是content
<?php echo html::textarea('content', '默认值', "class='form-control' style='width:90%; height:260px'");?>
3、在config里面加配置
$config->【模块名】->editor = new stdclass();
$config->【模块名】->editor->【文件名1】 = array('id' => 'content1', 'tools' => 'fullTools');
$config->【模块名】->editor->【文件名2】 = array('id' => 'content2', 'tools' => 'fullTools');
这里的fullTools来自 zentao\module\common\view\kindeditor.html.php