Metadata-Version: 2.1
Name: wagtail_text_alignment
Version: 1.0.2
Summary: An application made for the Django Web Framework.
Home-page: https://github.com/Nigel2392/wagtail_text_alignment
Author: Nigel
Author-email: nigel@goodadvice.it
License: GPL-3.0-only
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Wagtail
Classifier: Framework :: Wagtail :: 5
Classifier: Framework :: Wagtail :: 6
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django>=4.2
Requires-Dist: Wagtail>=5.0

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:

   ```bash
   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:

   ```css
   .text-left {
       text-align: left;
   }
   .text-center{
       text-align: center;
   }
   .text-right {
       text-align: right;
   }
   ```
   
