X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ffont%2Fplugin.js;h=6248e68b3aff04d81d92ad1ba462f20cd8ccfd83;hb=a272c66d841421f8bf933c16535bdcde1c4649fc;hp=6a1efee691108c75824794c3f4e8c32ff12d027b;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/font/plugin.js b/_source/plugins/font/plugin.js index 6a1efee..6248e68 100644 --- a/_source/plugins/font/plugin.js +++ b/_source/plugins/font/plugin.js @@ -1,5 +1,5 @@ /* -Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ @@ -93,7 +93,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license // the styles. for ( var value in styles ) { - if ( styles[ value ].checkElementRemovable( element, true ) ) + if ( styles[ value ].checkElementMatch( element, true ) ) { if ( value != currentValue ) this.setValue( value );