Browse Source

Moved the normalizeColorCode helper back to ckeditor5-font.

Aleksander Nowodzinski 5 years ago
parent
commit
dbcc78e5d8
1 changed files with 0 additions and 8 deletions
  1. 0 8
      packages/ckeditor5-ui/src/colorgrid/utils.js

+ 0 - 8
packages/ckeditor5-ui/src/colorgrid/utils.js

@@ -63,14 +63,6 @@ export function normalizeColorOptions( options ) {
 		.filter( option => !!option );
 }
 
-// Fixes the color value string.
-//
-// @param {String} value
-// @returns {String}
-export function normalizeColorCode( value ) {
-	return value.replace( /\s/g, '' );
-}
-
 // Creates a normalized color definition from the user-defined configuration.
 //
 // @param {String|module:ui/colorgrid/colorgrid~ColorDefinition}