ueditor绑定后台值问题

来源:互联网 发布:破解版数据恢复软件 编辑:程序博客网 时间:2024/06/05 23:21

使ueditor编辑插件时,当使用用setContent()方法式,提示this.body为空,这原因是编辑器的初始化未完成,而导致报错,在些建议使用

                         <script type="text/plain" id="editor" >
                         <%=context%>
                         </script>

context为后台传回来的值

原创粉丝点击