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.
Metadata
Release files for cjkcms-color-panel 1.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cjkcms_color_panel-1.6.1-py3-none-any.whl | Python 3 | none | any | Details for cjkcms_color_panel-1.6.1-py3-none-any.whl |
Release files / cjkcms_color_panel-1.6.1-py3-none-any.whl
| Download URL | cjkcms_color_panel-1.6.1-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2231f905ec3b49e01f21aff9f72be99e7dcad2232d141bbfbb8bce75d0448113
|
|
BLAKE2b-256 checksum How to use checksums |
51120054951a9bd7b5a2592c7ae485e9d31b1339294041980c4cb6bce2830715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.6
|
Security for cjkcms-color-panel 1.6.1
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.