網友辦法: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>