public/ckeditor/4.4dev/plugins/div/dialogs/div.js
function getDivContainer( element ) {
			var container = editor.elementPath( element ).blockLimit;

			// Never consider read-only (i.e. contenteditable=false) element as
			// a first div limit (#11083).
			if ( container.isReadOnly() )
				container = container.getParent();

			// Dont stop at 'td' and 'th' when div should wrap entire table.
			if ( editor.config.div_wrapTable && container.is( [ 'td', 'th' ] ) ) {
				var parentPath = editor.elementPath( container.getParent() );
				container = parentPath.blockLimit;
			}

			return container;
		}
function getDivContainer( element ) {
			var container = editor.elementPath( element ).blockLimit;

			// Never consider read-only (i.e. contenteditable=false) element as
			// a first div limit (#11083).
			if ( container.isReadOnly() )
				container = container.getParent();

			// Dont stop at 'td' and 'th' when div should wrap entire table.
			if ( editor.config.div_wrapTable && container.is( [ 'td', 'th' ] ) ) {
				var parentPath = editor.elementPath( container.getParent() );
				container = parentPath.blockLimit;
			}

			return container;
		}
function getDivContainer ( element ) { var container = editor . elementPath ( element ) . blockLimit ; // Never consider read-only (i.e. contenteditable=false) element as
 // a first div limit (#11083).
 if ( container . isReadOnly ( ) ) container = container . getParent ( ) ; // Dont stop at 'td' and 'th' when div should wrap entire table.
 if ( editor . config . div_wrapTable && container . is ( [ 'td' , 'th' ] ) ) { var parentPath = editor . elementPath ( container . getParent ( ) ) ; container = parentPath . blockLimit ; } return container ; }
Get the first div limit element on the element's path. @param {Object} element
Get the first div limit element on the element s path .