1.去ueditor官网下载:http://ueditor.baidu.com/website/

2.在jsp中加入:

<script src="static/ueditor/ueditor.config.js"></script> 
<script src="static/ueditor/ueditor.all.min.js"> </script> 

<script src="static/ueditor/lang/zh-cn/zh-cn.js"></script> 


3.添加textarea标签

  <textarea id="container" name="container" ></textarea>

4.实例化编辑器

  1. <script type="text/javascript">  
  2.     var ue = UE.getEditor("container");  
  3. </script>  

5.导入jsp下的jar包

6.

jsp中嵌入ueditor富文本编辑器


相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2021-12-05
  • 2021-06-17
  • 2021-06-08
猜你喜欢
  • 2022-12-23
  • 2021-06-15
  • 2021-07-02
  • 2021-07-13
  • 2021-10-24
  • 2021-08-03
  • 2022-02-09
相关资源
相似解决方案