ckeditor在线编辑器的使用

来源:互联网 发布:爱情转移知乎 编辑:程序博客网 时间:2024/04/29 07:16

1.下载ckeditor_4.3.2_full.zip,解压后吧ckeditor文件夹放在根目录下。

2.jsp页面引入,<script type="text/javascript" src='<%=path%>/ckeditor/ckeditor.js'></script>

3.使用

<TEXTAREA class='ckeditor' id=bz name=bz>${bz }</TEXTAREA>
<script type='text/javascript'>
CKEDITOR.replace('bz');
</script>

0 0