An application made for the Django Web Framework.
Project description
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
-
Add 'globlocks' to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ..., 'globlocks', 'conditional_field', ] -
...
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.
This means you will have to add "wagtail_text_alignment" to the django settings app list.
Luckily, we have the solution! And you can use it too!
To add the alignment features to your richtext
- Follow the installation steps for
globlocks. - Add
text-alignmentto your richtext features. (it is included in default features)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file globlocks-1.2.5.tar.gz.
File metadata
- Download URL: globlocks-1.2.5.tar.gz
- Upload date:
- Size: 3.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2af367f116b6463ab6d29a5127d94f665da97fc8893eb87fa8f4d5b535a0332d
|
|
| MD5 |
191664052d17b30c7bcb5d935ab77d47
|
|
| BLAKE2b-256 |
5c33d23b26661dfbec04e157bf68cb6ea2a8ba10cab01bf66db3b743a74fb456
|