public/ckeditor/_source/core/dom/elementpath.js
function( element )
	{
		var childNodes = element.getChildren();

		for ( var i = 0, count = childNodes.count() ; i < count ; i++ )
		{
			var child = childNodes.getItem( i );

			if ( child.type == CKEDITOR.NODE_ELEMENT && CKEDITOR.dtd.$block[ child.getName() ] )
				return true;
		}

		return false;
	}
function( element )
	{
		var childNodes = element.getChildren();

		for ( var i = 0, count = childNodes.count() ; i < count ; i++ )
		{
			var child = childNodes.getItem( i );

			if ( child.type == CKEDITOR.NODE_ELEMENT && CKEDITOR.dtd.$block[ child.getName() ] )
				return true;
		}

		return false;
	}
function ( element ) { var childNodes = element . getChildren ( ) ; for ( var i = 0 , count = childNodes . count ( ) ; i < count ; i ++ ) { var child = childNodes . getItem ( i ) ; if ( child . type == CKEDITOR . NODE_ELEMENT && CKEDITOR . dtd . $block [ child . getName ( ) ] ) return true ; } return false ; }
Check if an element contains any block element.
Check if an element contains any block element .