<!-- 加载编辑器的容器 -->
<script id="container" name="content" type="text/plain"> 这里写你的初始化内容</script>
<!-- 配置文件 -->
<script type="text/javascript" src="{#$smarty.const.EDITOR_URL#}ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="{#$smarty.const.EDITOR_URL#}ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
var ue = UE.getEditor(
'container',
{
initialFrameHeight:600,
initialFrameWidth:800,
toolbars:
[
['fullscreen', 'source', 'undo', 'redo'],
['bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc']
]
}
);
</script>