yourphp添加KindEditor编辑器
<tr> <td align="right">故障描述</td> <script charset="utf-8" src="./Public/Kindeditor/kindeditor-min.js"></script> <script charset="utf-8" src="./Public/Kindeditor/lang/zh_CN.js"></script> <script> KindEditor.ready(function(K) { window.editor = K.create('#editor_id'); }); </script> <td><textarea id="editor_id" name="desc" style="width:70%;height:300px;">请简单描述下机器故障</textarea> </td> </tr>