An application made for the Django Web Framework.
Project description
wagtail_text_alignment
...
Quick start
-
Install the package via pip:
pip install wagtail_text_alignment
-
Add 'wagtail_text_alignment' to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., 'wagtail_text_alignment', ]
-
Add 'text-alignment' to your richtext features. (it is included in default features)
-
To align it on the frontend too; add the following CSS:
.text-left { text-align: left; } .text-center{ text-align: center; } .text-right { text-align: right; }
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file wagtail_text_alignment-1.0.1.tar.gz
.
File metadata
- Download URL: wagtail_text_alignment-1.0.1.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43114af788b9a021a272d788c4eb37f0fe57d9ca826416a2f5d0dba4b89bd68a |
|
MD5 | 16da4b23312708e5f0c34bd6195bed59 |
|
BLAKE2b-256 | 83a56bc445d7b74851c372ca9097104a3386619f492a4e28b8d3d7f62a11e780 |