最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Phpcms默认编辑器换为百度ueditor编辑器
时间:2022-06-25 19:41:19 编辑:袖梨 来源:一聚教程网
1.下载ueditor
网址:http://ueditor.*bai**du.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后台:我的面板-常用操作-更新缓存(如下图)
相关文章
- 红色的炼金术士炎烧配方衍生图一览 11-05
- 绯红编年史浴室里的喧闹成就攻略 11-05
- 逃离鸭科夫全部蓝图解锁图鉴一览 11-05
- 吸血鬼避世血族2第一章全部流程攻略 11-05
- 逃离鸭科夫进阶狙击手3红色集装箱位置 11-05
- 红色的炼金术士诡雷配方衍生图一览 11-05

