X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fformat%2Fplugin.js;h=6488e75b25a9bf239983d6f321af9f601bb50f2f;hb=fb481ba0a7d298e3e7b9034fcb9f2afdc6e8e796;hp=6c4faf6f3ed748a4f9848232af55c83be69b6c1d;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/format/plugin.js b/_source/plugins/format/plugin.js index 6c4faf6..6488e75 100644 --- a/_source/plugins/format/plugin.js +++ b/_source/plugins/format/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -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 ); } },