无法SetContent是因为
<script id="txtContent" name="txtContent" type="text/plain" style="width: 100%;height:355px;">
</script>
txtContent还未完全初始化,故,
editor.ready(function () { });
使用上面的函数可解决此问题。
![Creative Commons License](https://yqfile.alicdn.com/img_229daa2bfc2444f20a57a2deabf6522d.png?x-oss-process=image/resize,w_1400/format,webp)
无法SetContent是因为
<script id="txtContent" name="txtContent" type="text/plain" style="width: 100%;height:355px;">
</script>
txtContent还未完全初始化,故,
editor.ready(function () { });
使用上面的函数可解决此问题。