//js部分 css
var editor;网络
KindEditor.ready(function(K) {spa
editor = K.create('#description', {code
minWidth:480,图片
minHeight:300,ip
items:["undo", "redo","justifyleft","justifycenter","justifyright",it
"justifyfull","subscript","superscript",io
"forecolor","hilitecolor","bold","italic","underline","strikethrough"],图片上传
cssPath : '../../../kindeditor-4.1.10/plugins/code/prettify.css',function
allowFileManager : true,
allowImageRemote : false ,//取消网络图片上传
uploadJson : 'fileUploadAction!fileUpload',
fileManagerJson : 'fileUploadAction!insertFile'
});
prettyPrint();
});
//标签(页面)
<tr>
<th valign="top">最新活动</th>
<td colspan="3"><textarea name="description" id="description" style="width:480px;"></textarea></td>
</tr>