public/ckeditor/4.4dev/core/filter.js
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;
	}
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;
	}
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 ; }
Create pseudo element that will be passed through filter to check if tested string is allowed.
Create pseudo element that will be passed through filter to check if tested string is allowed .