1 /**
  2  * strikeThrough button
  3  * @author yiminghe@gmail.com
  4  */
  5 KISSY.add("editor/plugin/strikeThrough/index", function (S, Editor, ui, cmd) {
  6 
  7     function StrikeThrough() {
  8     }
  9 
 10     S.augment(StrikeThrough, {
 11         renderUI:function (editor) {
 12             cmd.init(editor);
 13             editor.addButton("strikeThrough", {
 14                 cmdType:"strikeThrough",
 15                 tooltip:"删除线 "
 16             }, ui.Button);
 17         }
 18     });
 19 
 20     return StrikeThrough;
 21 }, {
 22     requires:['editor', '../font/ui', './cmd']
 23 });