1、“ueditor”,并进行打包上传到include目录下
2、直接替换文件inc_func_funcAdmin.php或打开include下的inc文件夹内的inc_func_funcAdmin.php找到184行,贴入以下代码。
else if($GLOBALS['cfg_html_editor']=='ueditor')
{
$fvalue = $fvalue=='' ? '<p></p>' : $fvalue;
$code = '<scrIPt type="text/JavaScript" charset="utf-8"
src="/include/ueditor/ueditor.config.JS"></script>
<script type="text/javASCript" charset="utf-8"
src="/include/ueditor/ueditor.all.js"></script>
<link rel="stylesheet" type="text/css"
HRef="/include/ueditor/themes/default/css/ueditor.css"/>
<textarea name="'.$fname.'" id="'.$fname.'"
"width:100%;">'.$fvalue.'</textarea>
<script type="text/javascript">var ue = new
bAIdu.editor.ui.Editor();ue.render("'.$fname.'");</script>';
if($gtype=="print")
{
echo $code;
}
else
{
return $code;
}
}
3、进入织梦网站后台-->系统-->系统基本参数-->核心设置-->将Html编辑器的值改为 ueditor ,然后保存。
【附件文件下载:链接:HTTPS://pan.baidu.com/s/1De-0x5yoP97iZ07A1g0dEg 密码:pqxy】