wagtail-text-alignment


Namewagtail-text-alignment JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://github.com/Nigel2392/wagtail_text_alignment
SummaryAn application made for the Django Web Framework.
upload_time2024-05-13 11:34:33
maintainerNone
docs_urlNone
authorNigel
requires_python>=3.8
licenseGPL-3.0-only
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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;
   }
   ```
   

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Nigel2392/wagtail_text_alignment",
    "name": "wagtail-text-alignment",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Nigel",
    "author_email": "nigel@goodadvice.it",
    "download_url": "https://files.pythonhosted.org/packages/f0/06/d73733307ed59d0328a3938cb5bc5c3c88bcba3cc2d9523551ff3ed7e2e8/wagtail_text_alignment-1.0.2.tar.gz",
    "platform": null,
    "description": "wagtail_text_alignment\r\n================\r\n\r\n**Why is this package better than other implementations?**\r\n\r\nOther implementations often lack support for text alignment on block entities.\r\nThis package doesn't have that limitation. You can align text, headings, lists, etc.\r\n\r\nQuick start\r\n-----------\r\n\r\n1. Install the package via pip:\r\n\r\n   ```bash\r\n   pip install wagtail_text_alignment\r\n   ```\r\n\r\n2. Add 'wagtail_text_alignment' to your INSTALLED_APPS setting like this:\r\n\r\n   ```\r\n   INSTALLED_APPS = [\r\n   ...,\r\n      'wagtail_text_alignment',\r\n   ]\r\n   ```\r\n\r\n3. Add 'text-alignment' to your richtext features. (it is included in default features)\r\n\r\n4. To align it on the frontend too; add the following CSS:\r\n\r\n   ```css\r\n   .text-left {\r\n       text-align: left;\r\n   }\r\n   .text-center{\r\n       text-align: center;\r\n   }\r\n   .text-right {\r\n       text-align: right;\r\n   }\r\n   ```\r\n   \r\n",
    "bugtrack_url": null,
    "license": "GPL-3.0-only",
    "summary": "An application made for the Django Web Framework.",
    "version": "1.0.2",
    "project_urls": {
        "Homepage": "https://github.com/Nigel2392/wagtail_text_alignment"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f006d73733307ed59d0328a3938cb5bc5c3c88bcba3cc2d9523551ff3ed7e2e8",
                "md5": "4c10b44680e2fd9ad58a24b40bdc6702",
                "sha256": "4b23d6dd6894c94b8bb85b8f9c6daf82a8dd878236fc2c553f74546168281f4e"
            },
            "downloads": -1,
            "filename": "wagtail_text_alignment-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "4c10b44680e2fd9ad58a24b40bdc6702",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 14462,
            "upload_time": "2024-05-13T11:34:33",
            "upload_time_iso_8601": "2024-05-13T11:34:33.555698Z",
            "url": "https://files.pythonhosted.org/packages/f0/06/d73733307ed59d0328a3938cb5bc5c3c88bcba3cc2d9523551ff3ed7e2e8/wagtail_text_alignment-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-13 11:34:33",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Nigel2392",
    "github_project": "wagtail_text_alignment",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "wagtail-text-alignment"
}
        
Elapsed time: 0.33517s