Color names are no longer available to colorButton_foreStyle #3940
Labels
good first issue
Relatively easy to fix. This is a perfect issue if you are willing to create a Pull Request.
plugin:colorbutton
The plugin which probably causes the issue.
status:confirmed
An issue confirmed by the development team.
type:feature
A feature request.
Milestone
Type of report
Regression blocking my migration to CKEditor 4.12 or newer.
Provide detailed reproduction steps (if any)
I am migrating some code from pre 4.12 that uses the color name in
colorButton_foreStyle
. Unfortunately color name is not available in foreStyle starting at 4.12 due to the fix to #1478. The fix for that bug makes sense, but if would be nice ifsetStyle
provided the color name to foreStyle in another variable (say,colorName
).Existing code:
Suggested possible code after fix:
Expected result
Able to make use of the color name from
colorButton_foreStyle
.Actual result
Only the hex value is available.
Other details
The text was updated successfully, but these errors were encountered: