wwalc / colorbutton

CKEditor Color Button plugin for Drupal 8
GNU General Public License v2.0
10 stars 1 forks source link

CKEditor Color Button plugin for Drupal 8

A module that register a plugin which provides Text Color and Background Color buttons: http://ckeditor.com/addon/colorbutton

Installation

Important: This module depends on the Panel Button module, install Panel Button first.

  1. Download the Color Button module, put it into the modules folder, then enable it.
  2. Edit selected text format where CKEditor is enabled.
  3. Adjust toolbar configuration - add Text/Background Color buttons to the toolbar.
  4. Save the text format settings.

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

License

Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.