方法一:用js传参
var editor = new UE.ui.Editor({initialFrameHeight:200,initialFrameWidth:640,toolbars:[["undo","redo","fontsize","fontfamily","bold","italic","underline","justifyleft","justifycenter","justifyright","justifyjustify","formatmatch","removeformat","emotion","insertimage","template","source"]]});
editor.render("content");
方法二:直接在ueditor.config.js 中修改toolbars 数组