X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fformat%2Fplugin.js;h=8e96529eae7c8b8a8c2dcd9ec10631ae8a46e0be;hb=4e70ea24db840898be8cc21c950363a52a2a6aba;hp=6c4faf6f3ed748a4f9848232af55c83be69b6c1d;hpb=1056598c95187351dc58f4991d331e2258d038b5;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 ); } },