Commits

Konstantin Semenov  committed cb026fd

Legend support

  • Participants
  • Parent commits 11b0b30

Comments (0)

Files changed (3)

File app/assets/javascripts/bootsy/bootstrap-wysihtml5.js

                 "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' tabindex='-1'>" + locale.font_styles.h2 + "</a></li>" +
                 "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' tabindex='-1'>" + locale.font_styles.h3 + "</a></li>" +
                 "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4' tabindex='-1'>" + locale.font_styles.h4 + "</a></li>" +
-                "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5' tabindex='-1'>" + locale.font_styles.h5 + "</a></li>" +
+                "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='legend' tabindex='-1'>" + locale.font_styles.legend + "</a></li>" +
                 "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='blockquote' tabindex='-1'>" + locale.font_styles.blockquote + "</a></li>" +
               "</ul>" +
             "</li>";

File app/assets/javascripts/bootsy/editor_options.js

       "h1": {},
       "h2": {},
       "h3": {},
+      "h4": {},
       "small": {},
       "p": {},
       "blockquote": {},
+      "legend": {},
       "u": 1,
       "cite": {
         "check_attributes": {

File lib/bootsy/version.rb

 module Bootsy
-  VERSION = '1.2.5'
+  VERSION = '1.2.6'
 end