87,910
社区成员
发帖
与我相关
我的任务
分享
<tr>
<th>标题:</th>
<td><input type="text" id="txttitle"/></td>
</tr>
<tr>
<th>内容:</th>
<td><textarea id="txtContent" cols="100" rows="8" style="width:100%;height:400px;visibility:hidden;" runat="server"></textarea></td>
</tr>
<script language="javascript">
var editor;
KindEditor.ready(function(K) {
editor = K.create('textarea[name="content"]', {
resizeType : 1,
pasteType : 1,
allowPreviewEmoticons : false,
allowImageUpload : true,
allowMediaUpload : false,
items : [
'source', 'preview', '|', 'undo','redo', '|', 'fontname', 'fontsize', '|', 'forecolor', 'bold', 'italic', 'underline', 'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', '|', 'emoticons', 'image', 'media', '|', 'link', 'unlink', 'table']
});
});
</script>
<textarea id="txtContent" name="content" cols="100" rows="8" style="width:100%;height:400px;visibility:hidden;" runat="server"></textarea>