Blog 学习之 KCeditor 3.0.2

KCeditor 今天第一次接触

 

引入:

 写道
<head>
<script type="text/javascript" src="ckeditor/ckeditor.js">
</script>
</head>

 

在一个textArea中替代

 

 写道
<td colspan="2">内容:</br>
<textarea name="content" rows="20" cols="80" id="content">

</textarea>
<script type="text/javascript">
CKEDITOR.replace('content');
</script>
</td>

 

测试效果:

 

Blog 学习之 KCeditor 3.0.2