0 purchases
wagtailcolourpicker 0.0.6
A colour picker for Wagtail’s DraftJS editor.
Installation
pip install wagtailcolourpicker
Setup
Add to installed app:
INSTALLED_APPS = [
...
'wagtailcolourpicker',
...
]
Settings
# picker icon
WAGTAILCOLOURPICKER_ICON = ['...']
# Add your colours
WAGTAILCOLOURPICKER_COLOURS = {
'black': '#000000',
'white': '#ffffff'
}
Documentation
Can be found on readthedocs.
Screenshots
Picker
Selected Text
Example site with docker
Clone the repo
$ git clone https://github.com/AccentDesign/wagtailcolourpicker.git
Run the docker container
$ cd wagtailcolourpicker
$ docker-compose up
Create yourself a superuser
$ docker-compose exec app bash
$ python manage.py createsuperuser
Go to http://127.0.0.1:8000/cms and add a new basic page
Testing
TODO
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.