1. jhvhs
  2. bootsy

Commits

Konstantin Semenov  committed e82b825

update font style label

  • Participants
  • Parent commits 52f9441
  • Branches master

Comments (0)

Files changed (2)

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

View file
             return "<li class='dropdown'>" +
               "<a class='btn dropdown-toggle" + size + "' data-toggle='dropdown' href='#' title='" + locale.font_styles.title + "'>" +
               "<i class='icon-font'></i>&nbsp;" +
-                "<span class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='p'>" + locale.font_styles.normal + "</span>" +
-                "<span class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1'>" + locale.font_styles.h1 + "</span>" +
-                "<span class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2'>" + locale.font_styles.h2 + "</span>" +
-                "<span class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3'>" + locale.font_styles.h3 + "</span>" +
-                "<span class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4'>" + locale.font_styles.h4 + "</span>" +
-                "<span class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='legend'>" + locale.font_styles.legend + "</span>" +
-                "<span class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='blockquote'>" + locale.font_styles.blockquote + "</span>" +
+                "<a class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='p'>" + locale.font_styles.normal + "</a>" +
+                "<a class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1'>" + locale.font_styles.h1 + "</a>" +
+                "<a class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2'>" + locale.font_styles.h2 + "</a>" +
+                "<a class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3'>" + locale.font_styles.h3 + "</a>" +
+                "<a class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4'>" + locale.font_styles.h4 + "</a>" +
+                "<a class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='legend'>" + locale.font_styles.legend + "</a>" +
+                "<a class='wysihtml5-display' data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='blockquote'>" + locale.font_styles.blockquote + "</a>" +
                 "&nbsp;<b class='caret'></b>" +
               "</a>" +
               "<ul class='dropdown-menu'>" +

File app/assets/stylesheets/bootsy/bootsy.css

View file
 
 .wysihtml5-display {
     display: none;
+    text-decoration: none;
 }
 
 .wysihtml5-display.wysihtml5-command-active {