globlocks
=========
Block/Widget library to make your Wagtail site more complete
## TODO
* Documentation
* Tests
* (blocks) components/images
* (blocks) components/menus
* (templates) components/menus
## Implemented
* blocks with settings
* toggleable-visibility blocks
* richtext alignment (with headers and inline entities)
* color picker widget/block/panel/(model)field
* range slider widget/block
* justify text alignment widget/block (targets specified inputs; aligns them in admin)
* toolbar widget/block; a richtext toolbar for your regular inputs
* fontpicker widget
* components
* images (NYI)
* menus (NYI)
* headers
* text
* image/text
Quick start
-----------
1. Add 'globlocks' to your INSTALLED_APPS setting like this:
```
INSTALLED_APPS = [
...,
'globlocks',
'conditional_field',
]
```
2. ...
## Richtext Alignment
`globlocks` has a richtext feature for text alignment; without the limits that feature would normally impose.
*Normally* - headings would not be able to get aligned. **This is a problem.**
Luckily, we have the solution! *And you can use it too!*
**To add the alignment features to your richtext**
1. Follow the installation steps for `globlocks`.
2. Add `text-alignment` to your richtext features. (it is included in default features)
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/globlocks",
"name": "globlocks",
"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/de/00/98b13fbd4d23f2483f928345c21049a577e00288578c773de42b0db88be9/globlocks-1.2.2.tar.gz",
"platform": null,
"description": "globlocks\r\n=========\r\n\r\nBlock/Widget library to make your Wagtail site more complete\r\n\r\n## TODO\r\n\r\n* Documentation\r\n* Tests\r\n* (blocks) components/images\r\n* (blocks) components/menus\r\n* (templates) components/menus\r\n\r\n## Implemented\r\n\r\n* blocks with settings\r\n* toggleable-visibility blocks\r\n* richtext alignment (with headers and inline entities)\r\n* color picker widget/block/panel/(model)field\r\n* range slider widget/block\r\n* justify text alignment widget/block (targets specified inputs; aligns them in admin)\r\n* toolbar widget/block; a richtext toolbar for your regular inputs\r\n* fontpicker widget\r\n* components\r\n * images (NYI)\r\n * menus (NYI)\r\n * headers\r\n * text\r\n * image/text\r\n\r\nQuick start\r\n-----------\r\n\r\n1. Add 'globlocks' to your INSTALLED_APPS setting like this:\r\n\r\n ```\r\n INSTALLED_APPS = [\r\n ...,\r\n 'globlocks',\r\n 'conditional_field',\r\n ]\r\n ```\r\n2. ...\r\n\r\n## Richtext Alignment\r\n\r\n`globlocks` has a richtext feature for text alignment; without the limits that feature would normally impose.\r\n\r\n*Normally* - headings would not be able to get aligned. **This is a problem.**\r\n\r\nLuckily, we have the solution! *And you can use it too!*\r\n\r\n**To add the alignment features to your richtext**\r\n\r\n1. Follow the installation steps for `globlocks`.\r\n2. Add `text-alignment` to your richtext features. (it is included in default features)\r\n\r\nTo 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",
"bugtrack_url": null,
"license": "GPL-3.0-only",
"summary": "An application made for the Django Web Framework.",
"version": "1.2.2",
"project_urls": {
"Homepage": "https://github.com/Nigel2392/globlocks"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "de0098b13fbd4d23f2483f928345c21049a577e00288578c773de42b0db88be9",
"md5": "c1c4f94bf7ac2176157da6f66755a52c",
"sha256": "c993c194178d085e666fd7ea1ee403882d20ff30c533b89aee6492162613ed89"
},
"downloads": -1,
"filename": "globlocks-1.2.2.tar.gz",
"has_sig": false,
"md5_digest": "c1c4f94bf7ac2176157da6f66755a52c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 2999692,
"upload_time": "2024-04-19T09:38:55",
"upload_time_iso_8601": "2024-04-19T09:38:55.745099Z",
"url": "https://files.pythonhosted.org/packages/de/00/98b13fbd4d23f2483f928345c21049a577e00288578c773de42b0db88be9/globlocks-1.2.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-19 09:38:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Nigel2392",
"github_project": "globlocks",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "globlocks"
}