<div style="margin: 0 auto; width: 50%">javascript
<div>${article.title}</div> <div id="article"> <textarea id="newsEditor" name="content" style="height: 80%; height: 500px"></textarea> <script type="text/javascript"> var ue = UE.getEditor('newsEditor'); //給textarea賦值 var content = '${article.htmlContent}'; ue.ready(function() { ue.setContent(content).val; }); </script> </div> </div>