X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Fstylescombo%2Fplugin.js;h=f3ebfd52db785c126bd1a88f17d8ae0500a3f51d;hb=refs%2Ftags%2Fv3.4.1;hp=a5d4b7c3d6ea352020c4fde5c62f89aec99c22a0;hpb=8665a7c6c60586526e32e8941fe2896739b6ebfb;p=ckeditor.git diff --git a/_source/plugins/stylescombo/plugin.js b/_source/plugins/stylescombo/plugin.js index a5d4b7c..f3ebfd5 100644 --- a/_source/plugins/stylescombo/plugin.js +++ b/_source/plugins/stylescombo/plugin.js @@ -108,6 +108,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license if ( style.type == CKEDITOR.STYLE_INLINE && style.checkActive( elementPath ) ) style.remove( editor.document ); + else if ( style.type == CKEDITOR.STYLE_OBJECT && style.checkActive( elementPath ) ) + style.remove( editor.document ); else style.apply( editor.document );