- 下载:php版本的
地址: https://ueditor.baidu.com/website/download.html#ueditor下载editor php utf-8
- 引入js
***一定先引用配置文件,再引用源码文件 最后引用语言包
/*引入配置文件*/
/*引入源码文件*/
/*引用语言包*/
-
显示处的id id=“content”
-
底部实例化编辑器
UE.getEditor("content",{initiaFrameWidth:1500,initiaFrameHeight:400});//实例化编辑器 传参,id为将要被替换的容器。
//如果在某个闭包下引用编辑器,直接调用 UE.getEditor('editor') 即可