generators/wysihat/templates/javascripts/wysihat_engine.js in wysihat-engine-0.1.9 vs generators/wysihat/templates/javascripts/wysihat_engine.js in wysihat-engine-0.1.10

- old
+ new

@@ -73,9 +73,11 @@ case 'html': toolbar.addButton({label : button.gsub('_','-').camelize().capitalize(), handler: function(editor) { return editor.faceboxHTML(editor); }}); break; case 'paste': toolbar.addButton({label : button.gsub('_','-').camelize().capitalize(), handler: function(editor) { return editor.faceboxPaste(editor); }}); + case 'h1': case 'h2': case 'h3': case 'h4': case 'h5': case 'h6': case 'p': + toolbar.addButton({label : button.gsub('_','-').camelize().capitalize(), handler: function(editor) { return editor.formatblockSelection(button.toLowerCase()); }}); break; default: toolbar.addButton({label : button.gsub('_','-').camelize().capitalize()}); } });