You are here

README.txt in CKEditor Color Button 8

CKEditor Color Button

Installation
============

This module requires the core CKEditor module and also the Color Button plugin
from CKEditor.com.

1. Download the plugin from http://ckeditor.com/addon/colorbutton at least
version 4.5.6.
2. Place the plugin in the root libraries folder (/libraries).
3. Enable Color Button module in the Drupal admin.
4. Configure your CKEditor toolbar to include the button (either text or
background color, or both).
5. You can enter a list of hex values to support to limit the user on what
colors they can use. Leave blank to use the default values from the plugin.

Follow these steps to make sure the plugin works for Basic HTML text format:

1. Drag the button from the toolbar to the active items
2. Make sure you add the style attribute to span tag from the list of allowed
html tags, see example what you need to add - "<span style>".

Note: Both buttons are using inline CSS styles to style the content, so they
will work only in text formats where HTML Filter ("Limit allowed HTML tags")
is not enabled.

File

README.txt
View source
  1. CKEditor Color Button
  2. Installation
  3. ============
  4. This module requires the core CKEditor module and also the Color Button plugin
  5. from CKEditor.com.
  6. 1. Download the plugin from http://ckeditor.com/addon/colorbutton at least
  7. version 4.5.6.
  8. 2. Place the plugin in the root libraries folder (/libraries).
  9. 3. Enable Color Button module in the Drupal admin.
  10. 4. Configure your CKEditor toolbar to include the button (either text or
  11. background color, or both).
  12. 5. You can enter a list of hex values to support to limit the user on what
  13. colors they can use. Leave blank to use the default values from the plugin.
  14. Follow these steps to make sure the plugin works for Basic HTML text format:
  15. 1. Drag the button from the toolbar to the active items
  16. 2. Make sure you add the style attribute to span tag from the list of allowed
  17. html tags, see example what you need to add - "".
  18. Note: Both buttons are using inline CSS styles to style the content, so they
  19. will work only in text formats where HTML Filter ("Limit allowed HTML tags")
  20. is not enabled.