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