Skip to main content

wagtail_text_alignment

Why is this package better than other implementations?

Other implementations often lack support for text alignment on block entities. This package doesn't have that limitation. You can align text, headings, lists, etc.

Quick start

  1. Install the package via pip:

    pip install wagtail_text_alignment
    
  2. Add 'wagtail_text_alignment' to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
    ...,
       'wagtail_text_alignment',
    ]
    
  3. Add 'text-alignment' to your richtext features. (it is included in default features)

  4. 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;
    }
    

Metadata

Release files for wagtail-text-alignment 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-text-alignment 1.0.2
File Size Uploaded
wagtail_text_alignment-1.0.2.tar.gz 14.5 kB Details

Release files / wagtail_text_alignment-1.0.2.tar.gz

Download URL wagtail_text_alignment-1.0.2.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4b23d6dd6894c94b8bb85b8f9c6daf82a8dd878236fc2c553f74546168281f4e
BLAKE2b-256 checksum
How to use checksums
f006d73733307ed59d0328a3938cb5bc5c3c88bcba3cc2d9523551ff3ed7e2e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.0.2 This release

1 release file

1.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page