Wagtail Colour Picker

Wagtail Colour Picker

Enables you to configure colours in your sites settings file to change the text colour in the DraftJS editor.

Installation

Wagtail Colour Picker is available on PyPI - to install it, just run:

pip install wagtailcolourpicker

Once thats done you need to add the following to your INSTALLED_APPS settings:

INSTALLED_APPS = [
    ...
    'wagtailcolourpicker'
    ...
]

Go to your cms admin area and you will see a new icon in the DraftJS toolbar.

Settings

Any settings with their defaults are listed below for quick reference.

# the icon in the DraftJS toolbar
WAGTAILCOLOURPICKER_ICON = [...]

# the colours to show in the picker window
WAGTAILCOLOURPICKER_COLOURS = {
    'black': '#000000',
    'white': '#ffffff'
}

Contributors

People that have helped in any way shape or form to get to where we are, many thanks.

In our team

In the community

Changelog

0.0.6

  • Update to wagtail 2.4
  • Fix issue with modal submission

0.0.5

  • Update to wagtail 2.3

0.0.4

  • Use static template tag for when using external storage

0.0.3

  • Include missing css in package

0.0.2

  • Documentation

0.0.1

  • Initial Release

Screenshots

_images/screen_1.png

Picker

_images/screen_2.png

Selected Text