JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.4.1
[ckeditor.git] / _source / plugins / stylescombo / plugin.js
index a5d4b7c..f3ebfd5 100644 (file)
@@ -108,6 +108,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
 \r
                                                if ( style.type == CKEDITOR.STYLE_INLINE && style.checkActive( elementPath ) )\r
                                                        style.remove( editor.document );\r
+                                               else if ( style.type == CKEDITOR.STYLE_OBJECT && style.checkActive( elementPath ) )\r
+                                                       style.remove( editor.document );\r
                                                else\r
                                                        style.apply( editor.document );\r
 \r