Ability to get the short hex from CKEDITOR.tools.color
instance
#4726
Labels
changelog:api
A changelog entry should be put in the API section of the changelog.
core
The issue is caused by the editor core code.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Type of report
Feature request
Provide description of the new feature
Currently
CKEDITOR.tools.color#getHex()
does not allow getting short version of hex.We can introduce
shorten
parameter that would indicate that the short hex is wanted, e.g.In case of the non-shortenable hexes, it should return the full hex:
It should be also introduced for
CKEDITOR.tools.color#getHexWithAlpha()
.The text was updated successfully, but these errors were encountered: