在dedecms中用以下方式调用了ueditor:
else if($GLOBALS['cfg_html_editor']=='ueditor1.4.3')
{
$fvalue = $fvalue=='' ? '' : $fvalue;
$code = '
';
if($gtype=="print")
{
echo $code;
}
else
{
return $code;
}
}
使用ueditor的插入代码功能在文章里插入了html也保存成功并且能在前台正常显示,但是再次编辑文章已保存的调用之前插入的html就不能正常显示了:
插入的代码是这样的:
首页
栏目1
栏目2
栏目3
编辑的时候却成了这样的:
首页栏目1栏目2栏目3
看了下网页的源文件,里面代码没有错:
script type="text/javascript" charset="utf-8" src="/include/ueditor1.4.3/ueditor.config.js">
求教各位高手,这样的话问题出在哪里呢,应该怎么改呢?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
闭关修行中......