'justifyleft','justifycenter','justifyright','justifyjustify','/','touppercase','tolowercase','/',
'link','unlink','anchor','/','imagenone','imageleft','imageright','imagecenter','/',
'simpleupload','insertimage','emotion','scrawl','insertvideo','music','attachment','map','gmap','insertframe','insertcode','pagebreak','template','background','/',
'horizontal','date','time','spechars','snapscreen','wordimage','/',
'inserttable','deletetable','insertparagraphbeforetable','insertrow','deleterow','insertcol','deletecol','mergecells','mergeright','mergedown','splittocells','splittorows','splittocols','charts','/',
'searchreplace','help','drafts'
]]
看起来是6步,其实每一步都很简单了。为了让小伙伴们看得更清楚些,来张效果图吧:
效果还不错吧,其实,看起来复杂的功能,实现起来却很简单。而简单的功能,实现起来可能会很复杂。我们不只是使用那么看起来复杂,使用起来简单的各种开源组件,更要学习,如何把复杂的功能封装起来,对外提供简单的接口,让别人也能简单使用。
本文转自blog.csdn.net/xiaoxian8023