xinlvtian

1、百度编辑器下载

2、打开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.\'"
style="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 ,然后保存。 到了这一步,那么恭喜你,文本编辑器已经替换成功!

4、更换为原来的织梦编辑器只需要在系统核心设置里将编辑器设置为ckeditor即可

分类:

技术点:

相关文章:

  • 2021-06-25
  • 2021-11-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2021-06-17
  • 2022-01-15
  • 2021-10-15
  • 2021-12-04
  • 2021-09-02
相关资源
相似解决方案