Skip to content

Commit

Permalink
Merge pull request #4032 from ckeditor/t/3994
Browse files Browse the repository at this point in the history
Update docs about setting custom colorbutton style definitions
  • Loading branch information
f1ames committed May 7, 2020
2 parents 0ca09ca + 0faef74 commit caa0461
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions plugins/colorbutton/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,10 @@ CKEDITOR.config.colorButton_colors = '1ABC9C,2ECC71,3498DB,9B59B6,4E5F70,F1C40F,
/**
* Stores the style definition that applies the text foreground color.
*
* **Note:** Advanced Content Filter (ACF) is not updated automatically by a custom style definition.
* You may need to add additional ACF rules, so the customized style element is not removed.
* Learn more how to configure ACF with {@glink guide/dev_advanced_content_filter Advanced Content Filter guide}.
*
* Read more in the {@glink features/colorbutton documentation}
* and see the {@glink examples/colorbutton example}.
*
Expand All @@ -511,6 +515,10 @@ CKEDITOR.config.colorButton_foreStyle = {
/**
* Stores the style definition that applies the text background color.
*
* **Note:** Advanced Content Filter (ACF) is not updated automatically by a custom style definition.
* You may need to add additional ACF rules, so the customized style element is not removed.
* Learn more how to configure ACF with {@glink guide/dev_advanced_content_filter Advanced Content Filter guide}.
*
* Read more in the {@glink features/colorbutton documentation}
* and see the {@glink examples/colorbutton example}.
*
Expand Down

0 comments on commit caa0461

Please sign in to comment.