咨询 | 会员中心

dedecms如何更换百度编辑器

作者:845.net.cn 来源:互联网 发布:2022-08-25 点击:7076

下载百度ueditor编辑器源码

搜索“百度ueditor”去官方下载编辑器源码

安装百度ueditor编辑器

在include目录下新建一个“ueditor”文件夹,讲刚才下载的文件解压后上传至此目录。

修改配置文件

找到include/inc/下的inc_func_funcAdmin.php文件,在判断编辑器部分,如下

if($GLOBALS['cfg_html_editor']=='fck')

在它后面大概367行添加如下判断

else if($GLOBALS['cfg_html_editor']=='ueditor') { $fvalue = https://www.admin5.com/article/20201009/$fvalue=='' ? '

' : $fvalue; $code = ' '.$fvalue.' '; if($gtype=="print") { echo $code; } else { return $code; } }

修改网站后台系统配置

进入后台,在>系统>系统基本参数>核心设置>将“Html编辑器”改为“ueditor”,然后保存即可。

转载:非常欢迎各位朋友分享到个人站长或者朋友圈,但转载请说明文章出处“黎青松SEO博客”。

原文地址:http://www.alitaohuo.com/CMSjiaocheng/zhimengjiaocheng/1930.html

actlink:0

chargetype:0

infopurview:0

pinyin:dedecmsruhegenghuanbaidubianjiqi

readpoint:0

pitchtime:0

dividepercent:0

templateurl:资讯内容.html

filename:news/jzjy/2302

isaccept:0

articleinput:admin

digg:0

down:0

att:0

orderid:10

commentscount:0

kfid:0

biaodanon:0