Ticket #7940: 7940.patch

File 7940.patch, 634 bytes (added by Jakub Ś, 11 years ago)
  • _source/plugins/stylescombo/plugin.js

     
    179179                                                if ( !counter[ CKEDITOR.STYLE_INLINE ] )
    180180                                                        this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_INLINE ) ] );
    181181
    182                                                 if ( !counter[ CKEDITOR.STYLE_OBJECT ] )
     182                                                if ( !counter[ CKEDITOR.STYLE_OBJECT ] || ( element && element.data( 'cke-realelement' ) ) )
    183183                                                        this.hideGroup( lang[ 'panelTitle' + String( CKEDITOR.STYLE_OBJECT ) ] );
    184184                                        },
    185185
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy