public/ckeditor/_source/plugins/pastefromword/filter/default.js
function ( styleDefiniton, variables )
				{
					return function( element )
						{
							var styleDef =
									variables ?
										new CKEDITOR.style( styleDefiniton, variables )._.definition
										: styleDefiniton;
							element.name = styleDef.element;
							CKEDITOR.tools.extend( element.attributes, CKEDITOR.tools.clone( styleDef.attributes ) );
							element.addStyle( CKEDITOR.style.getStyleText( styleDef ) );
						};
				}
function ( styleDefiniton, variables )
				{
					return function( element )
						{
							var styleDef =
									variables ?
										new CKEDITOR.style( styleDefiniton, variables )._.definition
										: styleDefiniton;
							element.name = styleDef.element;
							CKEDITOR.tools.extend( element.attributes, CKEDITOR.tools.clone( styleDef.attributes ) );
							element.addStyle( CKEDITOR.style.getStyleText( styleDef ) );
						};
				}
function ( styleDefiniton , variables ) { return function ( element ) { var styleDef = variables ? new CKEDITOR . style ( styleDefiniton , variables ) . _ . definition : styleDefiniton ; element . name = styleDef . element ; CKEDITOR . tools . extend ( element . attributes , CKEDITOR . tools . clone ( styleDef . attributes ) ) ; element . addStyle ( CKEDITOR . style . getStyleText ( styleDef ) ) ; } ; }
Migrate the element by decorate styles on it.
@param styleDefiniton
@param variables
Migrate the element by decorate styles on it .