在线代码: https://gitee.com/xproer/wordpaster-dedecms-ueditor
说明:在安装插件包前,请先备份以上文件和目录。
/include/inc/inc_fun_funAdmin.php
/include/ueditor/
1.启用ueditor编辑器
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
2.下载安装包,
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
解压
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
复制里面的include目录
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
覆盖到dedecms
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
更新文件:
/include/inc/inc_fun_funAdmin.php
/include/ueditor/
3.填写授权码:
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
4.注意上传地址配置
如果网站在根目录则地址为:/include/ueditor/php/upload/
如果网站在dedecms目录则地址为:/dedecms/include/ueditor/php/upload/
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
5.如果您的网站在内网,请将控件包也布署在内网
效果:
![点击并拖拽以移动](/i/l/?n=22&i=blog/2441432/202210/2441432-20221025182624365-461636200.gif)
标签:ueditor,php,5.7,dedecms,编辑,include,inc From: https://www.cnblogs.com/zyzzz/p/16825869.html