2 var CLASS_NAME = "wysiwyg-text-align-left",
3 REG_EXP = /wysiwyg-text-align-[0-9a-z]+/g;
5 wysihtml5.commands.justifyLeft = {
6 exec: function(composer, command) {
7 return wysihtml5.commands.formatBlock.exec(composer, "formatBlock", null, CLASS_NAME, REG_EXP);
10 state: function(composer, command) {
11 return wysihtml5.commands.formatBlock.state(composer, "formatBlock", null, CLASS_NAME, REG_EXP);