X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fformat%2Fplugin.js;h=8e96529eae7c8b8a8c2dcd9ec10631ae8a46e0be;hb=refs%2Ftags%2Fv3.6.2;hp=6c4faf6f3ed748a4f9848232af55c83be69b6c1d;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/format/plugin.js b/_source/plugins/format/plugin.js index 6c4faf6..8e96529 100644 --- a/_source/plugins/format/plugin.js +++ b/_source/plugins/format/plugin.js @@ -45,7 +45,7 @@ CKEDITOR.plugins.add( 'format', var label = lang[ 'tag_' + tag ]; // Add the tag entry to the panel list. - this.add( tag, '<' + tag + '>' + label + '', label ); + this.add( tag, styles[tag].buildPreview( label ), label ); } },