Skip to main content

An application made for the Django Web Framework.

Project description

wagtail_text_alignment

...

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail_text_alignment-1.0.1.tar.gz (14.2 kB view details)

Uploaded Source

File details

Details for the file wagtail_text_alignment-1.0.1.tar.gz.

File metadata

File hashes

Hashes for wagtail_text_alignment-1.0.1.tar.gz
Algorithm Hash digest
SHA256 43114af788b9a021a272d788c4eb37f0fe57d9ca826416a2f5d0dba4b89bd68a
MD5 16da4b23312708e5f0c34bd6195bed59
BLAKE2b-256 83a56bc445d7b74851c372ca9097104a3386619f492a4e28b8d3d7f62a11e780

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page