1 /** 2 * Add indent and outdent command identifier for KISSY Editor. 3 * @author yiminghe@gmail.com 4 */ 5 KISSY.add("editor/plugin/indent/cmd", function (S, Editor, dentUtils) { 6 var addCommand = dentUtils.addCommand; 7 return { 8 init:function (editor) { 9 addCommand(editor, "indent"); 10 } 11 }; 12 13 }, { 14 requires:['editor', '../dentUtils/cmd'] 15 });