最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Phpcms默认编辑器换为百度ueditor编辑器
时间:2022-06-25 19:41:19 编辑:袖梨 来源:一聚教程网
1.下载ueditor
网址:http://ueditor.baidu.com/website/download.html (如1.4.2版本)
解压并重命名文件夹名称为ueditor,放入phpcms2008根目录。
2.打开include/form.class.php 并查找editor函数
将
代码如下 | 复制代码 |
function editor($textareaid = 'content', $toolbar = 'Basic', $width = '600', $height = "400", $isshowext = 1) { ...... } |
替换为
代码如下 | 复制代码 |
function editor($textareaid = 'content', $toolbar = 'Basic', $width = '600', $height = "400", $isshowext = 1) { $str = ""; return $str; } |
4.打开include\fields\editor\form.inc.php(如下图)
查找并删除 style=\"display:none\"
5.进入phpcms2008后台:我的面板-常用操作-更新缓存(如下图)
相关文章
- 比特币突破10.5万美元大关:在地缘政治动荡中长期持有者筑牢市场稳定基石 06-15
- 奇迹暖暖第二卷第四章套装有哪些攻略 06-15
- 明日之后步枪兵技能怎么点攻略 06-15
- 奇迹暖暖花语藤蔓午夜玫瑰获得方式有哪些 06-15
- 深空之眼Roguelike模式多维变量怎么样 06-15
- SQD币怎么操作?2025OKX交易所新手投资 06-15