天天看点

使用UEditor无法SetContent的问题

无法SetContent是因为

<script id="txtContent" name="txtContent" type="text/plain" style="width: 100%;height:355px;">

</script>

txtContent还未完全初始化,故,

editor.ready(function () { });

使用上面的函数可解决此问题。

使用UEditor无法SetContent的问题

本文基于

Creative Commons Attribution 2.5 China Mainland License

发布,欢迎转载,演绎或用于商业目的,但是必须保留本文的署名

http://www.cnblogs.com/luminji

(包含链接)。如您有任何疑问或者授权方面的协商,请给我留言。

继续阅读