http://ueditor.baidu.com/website/download.html下载压缩包
将下载的压缩包解压到tp框架的public下的static下
在静态页面中引入
<!-- 配置文件 -->
<script type="text/javascript" src="__STATIC__/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__STATIC__/ueditor/ueditor.all.js"></script>
效果图
世界上最美的风景,是自己努力的模样