Wagtail Colour Picker
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
Metadata
Release files for wagtailcolourpicker 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| wagtailcolourpicker-0.0.6.tar.gz | 8.1 kB | Without provenance | Details for wagtailcolourpicker-0.0.6.tar.gz |
Release files / wagtailcolourpicker-0.0.6.tar.gz
| Download URL | wagtailcolourpicker-0.0.6.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e78daf7fc06555b41938254eea86d62157598934558b23ccf4df14163b85fcc4
|
|
BLAKE2b-256 checksum How to use checksums |
5eb55cbb80fc389926a3e68e79a49d23ae5bf84edc9ac2be30bde7110a3a375a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for wagtailcolourpicker 0.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.