No project description provided
Project description
Wagtail-Color-Panel
Forked to Cjkcms-Color-Panel
by (cjkpl)[https://github.com/cjkpl/cjkcms-color-panel]
Wagtail-Color-Panel does not yet support Wagtail 7.x. This fork does.
Introduces panels for selecting colors in Wagtail.
Features
- NativeColorPanel that can be used in your edit handler
- NativeColorBlock for usage in a StreamField
- Based on the native HTML5 color picker
- A custom db field for improved validation
- PolyfillColorPanel for cases that require IE11 support (built on Spectrum)
Example
from wagtail.models import Page
from wagtail_color_panel.fields import ColorField
from wagtail_color_panel.edit_handlers import NativeColorPanel
class MyPage(Page):
color = ColorField()
content_panels = Page.content_panels + [
NativeColorPanel('color'),
]
Documentation
Contributing
Want to contribute? Awesome. Just send a pull request.
License
Wagtail-Color-Panel is released under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cjkcms_color_panel-1.6.1-py3-none-any.whl.
File metadata
- Download URL: cjkcms_color_panel-1.6.1-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2231f905ec3b49e01f21aff9f72be99e7dcad2232d141bbfbb8bce75d0448113
|
|
| MD5 |
345e0cae3d646d23561e0193e1b2a3fe
|
|
| BLAKE2b-256 |
51120054951a9bd7b5a2592c7ae485e9d31b1339294041980c4cb6bce2830715
|