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'])
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 | Reset |
|---|---|---|---|---|
| wagtail_draftail_anchors-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|