code: function dirToListItems( list )
  	{
  		var dir = list.getDirection();
  		if ( dir )
  		{
  			for ( var i = 0, children = list.getChildren(), child; child = children.getItem( i ), i < children.count(); i++ )
  			{
  				if ( child.type == CKEDITOR.NODE_ELEMENT && child.is( 'li' ) && !child.getDirection() )
  					child.setAttribute( 'dir', dir );
  			}
  
  			list.removeAttribute( 'dir' );
  		}
  	}
docs: Move direction attribute from root to list items.