<script type="text/javascript">
var editorOption={
toolbars:[['bold', 'italic', 'underline','|', 'forecolor', 'backcolor', 'insertorderedlist','|','fontfamily', 'fontsize', '|','justifyleft', 'justifycenter','justifyright', 'justifyjustify','|','link', 'unlink','|','insertimage','map','insertcode','|','horizontal']],
minFrameHeight:400,
};
var editor = new baidu.editor.ui.Editor(editorOption);
editor.render('newscontent');
</script>
这是我自己的调用,作为给你的参考。