dedecms修改后台编辑器参数GetEditor

原文https://blog.csdn.net/forest_fire/article/details/50944874

dedecms通过include/helpers/util.helper.php


function GetEditor($fname, $fvalue, $nheight=”350″, $etype=”Basic”, $gtype=”print”, $isfullpage=”FALSE”)函数调用文本编辑器,

个个参数可参考该方法的注释信息,

*  获取编辑器
 *
 * @param     string  $fname  表单名称
 * @param     string  $fvalue 如果表单中有默认值,则填入默认值
 * @param     string  $nheight 高度
 * @param     string  $etype   编辑器类型
 * @param     string  $gtype   获取类型
 * @param     string  $isfullpage   是否全屏
 * @return    string

修改文本编辑器上面工具栏图标格式信息,可以通过includes/ckeditor/ckeditor.inc.php 


图集编辑器太太简单,没有插入分页符 #p#副标题#e# 的功能

改下 dede/templets/album_add.htm  中查找 <?php GetEditor("body","",450,"Diy"); ?>  换成<?php GetEditor("body","",450,"Basic"); ?> 就可以显示分页符的功能了。

dede/templets/album_edit.htm 也一样换一下。



猜你喜欢

转载自blog.csdn.net/u010433704/article/details/80623334