辛辛苦苦写了一篇技术文章,将代码写上之后保存成功!然后编辑时发现只剩下符号!!!原因:ueditor编辑器在显示内容是自动过滤 部分 html 标签;解决方法:一):打开 ueditor\ueditor.config.js 搜索 'xssFilterRules ',将xssFilterRules,inputXssFilter,ou..
https://youjiba.me/you-post-151.html 2020-12-28
打开 inc/check.postarticle.php查找:preg_replace$postdb[content]=preg_replace('/<iframe([^<>]+)>/i','<iframe\\1>',$postdb[content]);注释掉即可
https://youjiba.me/you-post-114.html 2020-02-27
那就直接在内容页模板template/default/bencandy.htm代码开始的地方找到<!--<?php在其下一行添加这句代码:$rsdb[content]=str_replace('<img',"<imgalt=$rsdb[title]",$rsdb[content]);同时需要修改编辑器,有些编辑器默认自带了title和alt标签..
https://youjiba.me/you-post-96.html 2020-02-27
打开:admin\template\alonepage\edit.htm查找:<iframeid="eWebEditor1"src="ewebeditor/ewebeditor.php?id=content&style=standard"frameborder="0"scrolling="no"width="100%"height="450"></iframe>
<inputname="postdb[content]"type="hidden"id="content"value='$rsdb[content]'..
https://youjiba.me/you-post-83.html 2020-02-27
大家都知道百度编辑器的强大,如何把黄页店铺新闻或者独立页面其他地方不受控制的编辑器换成百度编辑器呢,其实很简单。红色标记的是需要注意的地方,换到什么地方替换对应字段即可。查找<textareastyle="display:none;"id="content1"name="content">$news[content]</textarea..
https://youjiba.me/you-post-56.html 2020-02-27
X1编辑器很多地方都是直接引用的,当你编辑器做了修改就需要去处理引用代码修改编辑器应用js/application/common/field/ueditor/form.php对本文件进行修改即可
https://youjiba.me/you-post-18.html 2020-02-10
在复制微信的文章格式到ueditor时发现section标签中的style和class属性丢失,严重影响美观。原文格式,排版清晰段落分明赏心悦目:复制到ueditor后的格式。。。这跟原文是没法比了于是打开代码模式,发现section的属性全没了但是请注意,span的属性还..
https://youjiba.me/you-post-13.html 2020-02-07
在复制微信的文章格式到ueditor时发现section标签中的style和class属性丢失,严重影响美观。原文格式,排版清晰段落分明赏心悦目:复制到ueditor后的格式。。。这跟原文是没法比了于是打开代码模式,发现section的属性全没了但是请注意,span的属性还是有的,猜测uedito..
https://youjiba.me/you-post-13.html 2020-02-07