Skip to main content

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

http://wagtailcolourpicker.readthedocs.io/en/latest/_images/screen_1.png

Picker

http://wagtailcolourpicker.readthedocs.io/en/latest/_images/screen_2.png

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtailcolourpicker-0.0.6.tar.gz (8.1 kB view details)

Uploaded Source

File details

Details for the file wagtailcolourpicker-0.0.6.tar.gz.

File metadata

  • Download URL: wagtailcolourpicker-0.0.6.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for wagtailcolourpicker-0.0.6.tar.gz
Algorithm Hash digest
SHA256 e78daf7fc06555b41938254eea86d62157598934558b23ccf4df14163b85fcc4
MD5 04ccef46bf7eea30c69e2ad1b40f9331
BLAKE2b-256 5eb55cbb80fc389926a3e68e79a49d23ae5bf84edc9ac2be30bde7110a3a375a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page