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.