public/ckeditor/4.4dev/plugins/colordialog/dialogs/colordialog.js
function updateHighlight( event ) {
		// Convert to event.
		!event.name && ( event = new CKEDITOR.event( event ) );

		var isFocus = !( /mouse/ ).test( event.name ),
			target = event.data.getTarget(),
			color;

		if ( target.getName() == 'td' && ( color = target.getChild( 0 ).getHtml() ) ) {
			removeHighlight( event );

			isFocus ? focused = target : hovered = target;

			// Apply outline style to show focus.
			if ( isFocus ) {
				target.setStyle( 'border-color', whiteOrBlack( color ) );
				target.setStyle( 'border-style', 'dotted' );
			}

			$doc.getById( hicolorId ).setStyle( 'background-color', color );
			$doc.getById( hicolorTextId ).setHtml( color );
		}
	}
function updateHighlight( event ) {
		// Convert to event.
		!event.name && ( event = new CKEDITOR.event( event ) );

		var isFocus = !( /mouse/ ).test( event.name ),
			target = event.data.getTarget(),
			color;

		if ( target.getName() == 'td' && ( color = target.getChild( 0 ).getHtml() ) ) {
			removeHighlight( event );

			isFocus ? focused = target : hovered = target;

			// Apply outline style to show focus.
			if ( isFocus ) {
				target.setStyle( 'border-color', whiteOrBlack( color ) );
				target.setStyle( 'border-style', 'dotted' );
			}

			$doc.getById( hicolorId ).setStyle( 'background-color', color );
			$doc.getById( hicolorTextId ).setHtml( color );
		}
	}
function updateHighlight ( event ) { // Convert to event.
 ! event . name && ( event = new CKEDITOR . event ( event ) ) ; var isFocus = ! ( / mouse / ) . test ( event . name ) , target = event . data . getTarget ( ) , color ; if ( target . getName ( ) == 'td' && ( color = target . getChild ( 0 ) . getHtml ( ) ) ) { removeHighlight ( event ) ; isFocus ? focused = target : hovered = target ; // Apply outline style to show focus.
 if ( isFocus ) { target . setStyle ( 'border-color' , whiteOrBlack ( color ) ) ; target . setStyle ( 'border-style' , 'dotted' ) ; } $doc . getById ( hicolorId ) . setStyle ( 'background-color' , color ) ; $doc . getById ( hicolorTextId ) . setHtml ( color ) ; } }
Apply highlight style.
Apply highlight style .