目录结构:
_examples:编辑器完整版的示例页面
dialogs:弹出对话框对应的资源和JS文件
themes:样式图片和样式文件
php/jsp/.net:涉及到服务器端操作的后台文件,根据你选择的不同后台版本,这里也会不同,这里应该是jsp,php,.net
third-party:第三方插件(包括代码高亮,源码编辑等组件)
editor_all.js:_src目录下所有文件的打包文件
editor_all_min.js:editor_all.js文件的压缩版,建议在正式部署时才采用
editor_config.js:编辑器的配置文件,建议和编辑器实例化页面置于同一目录
入门使用:使用极其简单,只要引入相应js文件,然后实例化编辑器即可:
<html><head><title>演示教程</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="./ueditor.config.js"></script> <script type="text/javascript" src="./ueditor.all.min.js"></script> </head> <body> <script type="text/javascript"> UE.getEditor('myEditor') </script> <textarea name="test" id="myEditor">这里写你的初始化内容</textarea> </body></html>