Thinkphp 3.2.3集成百度编辑器(UEditor)

1、把百度编辑器放到项目的Public目录下 命名为:UEditor

2、修改 在ThinkPHP/Library/Think/Template/Taglib 目录下编辑 Html.class.php 代码

3  在百度编辑器目录的ueditor.config.js文件内修改:       

   // 服务器统一请求接口路径
        , serverUrl: URL + "../../index.php/Home/Index/ueditup"

4 在Common模块中添加控制器    CommonController.class.php

5 ueditconfig.json这个文件放到配置文件目录下也就是Home/Conf/这个目录下

posted @ 2017-05-22 20:55  千牛一刀  阅读(179)  评论(0)    收藏  举报