1.首先到官方网站上下载ckeditor3.0.1,地址是:http://download.cksource.com/CKEditor/CKEditor/CKEditor%203.0.1/ckeditor_3.0.1.zip
2.将解压出来的文件夹(ckeditor)全部拷贝到WebRoot下
3.在页面中引入ckeditor
<script type="text/javascript"
src="[color=red]/ckeditorDemo/ckeditor/ckeditor.js[/color]">
</script>
红色部分为js路径地址
在body中:
<textarea class="ckeditor" cols="80" id="editor1" name="editor1"
rows="10">
this is the ckeditor
</textarea>
2.将解压出来的文件夹(ckeditor)全部拷贝到WebRoot下
3.在页面中引入ckeditor
<script type="text/javascript"
src="[color=red]/ckeditorDemo/ckeditor/ckeditor.js[/color]">
</script>
红色部分为js路径地址
在body中:
<textarea class="ckeditor" cols="80" id="editor1" name="editor1"
rows="10">
this is the ckeditor
</textarea>