使用UEditor无法SetContent的问题

无法SetContent是因为

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

txtContent还未完全初始化,故,

editor.ready(function () { });

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

原文地址:https://www.cnblogs.com/luminji/p/4741779.html