docs: function mockElementFromString( str ) {
  		var element = parseRulesString( str ).$1,
  			styles = element.styles,
  			classes = element.classes;
  
  		element.name = element.elements;
  		element.classes = classes = ( classes ? classes.split( /\s*,\s*/ ) : [] );
  		element.styles = mockHash( styles );
  		element.attributes = mockHash( element.attributes );
  		element.children = [];
  
  		if ( classes.length )
  			element.attributes[ 'class' ] = classes.join( ' ' );
  		if ( styles )
  			element.attributes.style = CKEDITOR.tools.writeCssText( element.styles );
  
  		return element;
  	}