联系官方销售客服
1835022288
028-61286886
后台Table类模板百度编辑器自动过滤问题
开发了一个插件,用到了后台Table类,在数据提交的模板info_post.html里用了一个百度编辑器(用开发者工具生成的字段HTML代码,生成时也勾选了不过滤xss),提交数据时会自动xss过滤,导致字体颜色加粗等设置都失效,请问大神该如何解决?
<?php echo dr_fieldform('{"name":"内容","fieldname":"content","ismain":"1","fieldtype":"Ueditor","setting":{"option":{"down_img":"0","down_img_type":"0","watermark":"0","show_bottom_boot":"0","mini":"0","autofloat":"0","autoheight":"0","page":"0","mode":"1","tool":"\'bold\', \'italic\', \'underline\'","mode2":"1","tool2":"\'bold\', \'italic\', \'underline\'","mode3":"1","tool3":"\'bold\', \'italic\', \'underline\'","attachment":"1","image_reduce":"","value":"","width":"100%","height":"300","css":""},"validate":{"required":"1","pattern":"","errortips":"","xss":"1","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', $content);?>