私人领地

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>

 

posted @ 2014-08-12 11:10  狂奔的蜗牛Snails  阅读(214)  评论(0编辑  收藏  举报