首页 > 其他 > 详细

百度ueditor编辑器背景不显示问题

时间:2016-10-28 11:50:40      阅读:1005      评论:0      收藏:0      [点我收藏+]

网友办法:http://www.hongxuejing.com/hulianwang/ueditor_not_show_background-33.html

官方办法:http://fex-team.github.io/ueditor/#start-uparse

我的解决方法:

  在文章结尾加上:

<div id="content">文章内容</div>
<script> $(function () { var cbg = $("#content p[data-background]:hidden"); if(cbg.length>0) $("#content").attr("style", cbg.attr("data-background")); }) </script>

 

百度ueditor编辑器背景不显示问题

原文:http://www.cnblogs.com/slwangzi/p/6007125.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!