public/ckeditor/_source/plugins/styles/plugin.js
function( elementPath )
		{
			switch ( this.type )
			{
				case CKEDITOR.STYLE_BLOCK :
					return this.checkElementRemovable( elementPath.block || elementPath.blockLimit, true );

				case CKEDITOR.STYLE_OBJECT :
				case CKEDITOR.STYLE_INLINE :

					var elements = elementPath.elements;

					for ( var i = 0, element ; i < elements.length ; i++ )
					{
						element = elements[ i ];

						if ( this.type == CKEDITOR.STYLE_INLINE
							  && ( element == elementPath.block || element == elementPath.blockLimit ) )
							continue;

						if( this.type == CKEDITOR.STYLE_OBJECT )
						{
							var name = element.getName();
							if ( !( typeof this.element == 'string' ? name == this.element : name in this.element ) )
								continue;
						}

						if ( this.checkElementRemovable( element, true ) )
							return true;
					}
			}
			return false;
		}
function( elementPath )
		{
			switch ( this.type )
			{
				case CKEDITOR.STYLE_BLOCK :
					return this.checkElementRemovable( elementPath.block || elementPath.blockLimit, true );

				case CKEDITOR.STYLE_OBJECT :
				case CKEDITOR.STYLE_INLINE :

					var elements = elementPath.elements;

					for ( var i = 0, element ; i < elements.length ; i++ )
					{
						element = elements[ i ];

						if ( this.type == CKEDITOR.STYLE_INLINE
							  && ( element == elementPath.block || element == elementPath.blockLimit ) )
							continue;

						if( this.type == CKEDITOR.STYLE_OBJECT )
						{
							var name = element.getName();
							if ( !( typeof this.element == 'string' ? name == this.element : name in this.element ) )
								continue;
						}

						if ( this.checkElementRemovable( element, true ) )
							return true;
					}
			}
			return false;
		}
function ( elementPath ) { switch ( this . type ) { case CKEDITOR . STYLE_BLOCK : return this . checkElementRemovable ( elementPath . block || elementPath . blockLimit , true ) ; case CKEDITOR . STYLE_OBJECT : case CKEDITOR . STYLE_INLINE : var elements = elementPath . elements ; for ( var i = 0 , element ; i < elements . length ; i ++ ) { element = elements [ i ] ; if ( this . type == CKEDITOR . STYLE_INLINE && ( element == elementPath . block || element == elementPath . blockLimit ) ) continue ; if ( this . type == CKEDITOR . STYLE_OBJECT ) { var name = element . getName ( ) ; if ( ! ( typeof this . element == 'string' ? name == this . element : name in this . element ) ) continue ; } if ( this . checkElementRemovable ( element , true ) ) return true ; } } return false ; }
Get the style state inside an element path. Returns "true" if the
element is active in the path.
Get the style state inside an element path . Returns true if the element is active in the path .