JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.6
[ckeditor.git] / _source / plugins / format / plugin.js
index 6c4faf6..8e96529 100644 (file)
@@ -45,7 +45,7 @@ CKEDITOR.plugins.add( 'format',
                                                var label = lang[ 'tag_' + tag ];\r
 \r
                                                // Add the tag entry to the panel list.\r
-                                               this.add( tag, '<' + tag + '>' + label + '</' + tag + '>', label );\r
+                                               this.add( tag, styles[tag].buildPreview( label ), label );\r
                                        }\r
                                },\r
 \r