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