diff --git a/Makefile b/Makefile index 6b9c73fc..89497614 100644 --- a/Makefile +++ b/Makefile @@ -58,6 +58,7 @@ JS_FILES = src/wysihtml5.js \ src/commands/justifyCenter.js \ src/commands/justifyLeft.js \ src/commands/justifyRight.js \ + src/commands/justifyFull.js \ src/commands/redo.js \ src/commands/underline.js \ src/commands/undo.js \ diff --git a/src/commands/justifyFill.js b/src/commands/justifyFull.js similarity index 93% rename from src/commands/justifyFill.js rename to src/commands/justifyFull.js index 994210d3..6a546a9f 100644 --- a/src/commands/justifyFill.js +++ b/src/commands/justifyFull.js @@ -3,7 +3,7 @@ CLASS_NAME = "wysiwyg-text-align-justify", REG_EXP = /wysiwyg-text-align-[0-9a-z]+/g; - wysihtml5.commands.justifyFill = { + wysihtml5.commands.justifyFull = { exec: function(composer, command) { return wysihtml5.commands.formatBlock.exec(composer, "formatBlock", null, CLASS_NAME, REG_EXP); }, diff --git a/test/index.html b/test/index.html index 73cc2947..efd0cb94 100644 --- a/test/index.html +++ b/test/index.html @@ -65,7 +65,7 @@ - +