$('#elm1').xheditor({plugins:plugins,tools:'full',showBlocktag:false,forcePtag:false,beforeSetSource:ubb2html,beforeGetSource:html2ubb,emots:emots,emotMark:true,shortcuts:{'ctrl+enter':submitForm}});
PS:
xheditor编辑器 :
1、plugins:plugins 额外插件
2、tools:'full' 编辑器工具条-按钮
3、beforeSetSource:ubb2html 编辑器textarea中显示html代码
4、beforeGetSource:html2ubb 编辑器textarea中显示ubb代码-试图
5、shortcuts:{'ctrl+enter':submitForm} 快捷提交按钮