- 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