Wagtail Draftail Anchors
Adds the ability to add and edit anchors in the Draftail rich text editor, as well as automatically adding (slug-form) anchor ids to all headings.
Installation
Install using pip:
pip install wagtail-draftail-anchors
Add 'wagtail_draftail_anchors' to INSTALLED_APPS below wagtail.admin.
Add 'anchor-identifier' to the features of any rich text field where you have overridden the default feature list. The feature must be added before any heading('h1',...,'h6') feature:
body = RichTextField(features=['anchor-identifier', 'h2', 'h3', 'bold', 'italic', 'link'])
Metadata
Release files for wagtail-draftail-anchors 0.4.0
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 |
|---|---|---|---|---|
| wagtail_draftail_anchors-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for wagtail_draftail_anchors-0.4.0-py3-none-any.whl |
Release files / wagtail_draftail_anchors-0.4.0-py3-none-any.whl
| Download URL | wagtail_draftail_anchors-0.4.0-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82067d61835e9527d6e7831df2f0d787448ed0797d7bad193561e1946796e3c9
|
|
BLAKE2b-256 checksum How to use checksums |
264b4882456f7600b848cb6c32d871db276aaa42151e8d9b8be5476130eddc79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/28.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.51.0 importlib-metadata/4.8.3 keyring/21.4.0 rfc3986/1.4.0 colorama/0.4.4 CPython/3.6.9
|
Security for wagtail-draftail-anchors 0.4.0
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.