先去ueditou.baidu.com网站下载百度编辑器,放到项目根目录下的Data目录中,然后引入文件

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<script>
window.UEDITOR_HOME_URL='__ROOT__/Data/Ueditor/';
window.onload=function(){
window.UEDITOR_CONFIG.initialFrameHeight='400';//编辑器高度设置
window.UEDITOR_CONFIG.initialFrameWidth='800';//编辑器宽度设置
UE.getEditor('content');
}
</script>
<js file='__ROOT__/Data/Ueditor/ueditor.config.js'/>
<js file='__ROOT__/Data/Ueditor/ueditor.all.min.js'/>
</head>
<body>
<textarea name="editor" id="content" cols="30" rows="10"></textarea>
</body>
</html>

效果图:

最新文章

  1. 读《编写可维护的JavaScript》第二三章总结
  2. 持续集成(CI)相关的一些工具,后续补充。。。。
  3. 使用NPOI将数据导出为word格式里的table
  4. mysql 数据导出 常用总结
  5. [stm32] GPIO及最小框架
  6. java多线程系列7-停止线程
  7. HDU 5823 (状压dp)
  8. UVa 10115 Automatic Editing
  9. 邮件发送服务AWS SES,Mailgun以及SendCloud(转)
  10. ASP.NET中常用的字符串分割函数
  11. 【BZOJ 1877】 [SDOI2009]晨跑
  12. 在MAC下调试运行暗黑全世界客户端及部分代码注解(基于Firefly)
  13. 在linux CentOS6上安装web环境
  14. Fireworks Extension —— 开发篇(Dom模型)
  15. Codeforces Round #112 (Div. 2)---A. Supercentral Point
  16. Redis命令总结及其基础知识讲述
  17. 用vector实现dijkstra
  18. 简单开发Apple Watch的步骤
  19. 使用Swashbuckle构建RESTful风格文档
  20. Unity5 打assetbundle时,无法打成图集仍然是散图的原因

热门文章

  1. C#Winform常引用的库
  2. [Ogre][地形]OgreTerrain的实现原理分析
  3. 【转】在Eclipse中建立第一个Servlet程序
  4. Asp.net 与 jsp 交互 (打开或跳转页面)
  5. Proud Merchants
  6. Black Box 分类: POJ 栈和队列 2015-08-05 14:07 2人阅读 评论(0) 收藏
  7. 多校4-Walk Out 分类: 比赛 2015-08-02 17:15 21人阅读 评论(0) 收藏
  8. C#常用日期格式处理转换[C#日期格式转换大全
  9. Spring 中的页面重定向
  10. #ifdef __cplusplus extern &quot;C&quot; { #endif