Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose colorbutton commands #3727

Closed
jacekbogdanski opened this issue Dec 11, 2019 · 0 comments · Fixed by #3405
Closed

Expose colorbutton commands #3727

jacekbogdanski opened this issue Dec 11, 2019 · 0 comments · Fixed by #3405
Assignees
Labels
plugin:colorbutton The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:feature A feature request.

Comments

@jacekbogdanski
Copy link
Member

jacekbogdanski commented Dec 11, 2019

Type of report

Feature request

Provide description of the new feature

Color Button should expose back and front text color change as dedicated commands as an addition to internal content style manipulation.

Specification:

  • color button registers 'textColor' and 'bgColor' commands.
  • color commands takes as data an object with a newStyle key.
    • new style should be empty if we want to remove styles
    • new style should be an instance of CKEDITOR.style if we want to apply new style
  • [extra] color command should should be contextSensitive and react on selection changes
  • UI state should react to changes of related color command state

Extracted from #3306, read #3306 (comment) for more details about implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin:colorbutton The plugin which probably causes the issue. status:confirmed An issue confirmed by the development team. type:feature A feature request.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants