Whitespace inconsistency between default color values and values returned by color picker in HSL format #17386
Description
📝 Provide detailed reproduction steps (if any)
- Open a demo which has changable color with color picker and default color values, e.g. https://ckeditor.com/docs/ckeditor5/latest/features/tables/tables-styling.html#demo
- Change a color with default values. Here for example, we change cell background color to red.
- Change color with color picker.
✔️ Expected result
The format of a color of default color values (ones unchanged by users) should be consistent with the one obtained from color picker.
❌ Actual result
Color picker adds whitespaces inside the HSL brackets, while those are not there in case of default value colors (unless set otherwise), e.g. we get a hsl(0, 75%, 60%)
value while picking red from default colors (in editor shown as red, but upon inspecting inline styles we have the hsl format) and hsl( 207, 83%, 32% )
from color picker.
📃 Other details
- Browser: All
- OS: Any
This works like this for any place with default color/color picker, including font color, font background color, table cell background color, table cell border color, table border color, table background color.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.