Skip to main content

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.

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

  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:

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

Metadata

Release files for globlocks 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for globlocks 1.2.5
File Size Uploaded
globlocks-1.2.5.tar.gz 3.0 MB Details

Release files / globlocks-1.2.5.tar.gz

Download URL globlocks-1.2.5.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2af367f116b6463ab6d29a5127d94f665da97fc8893eb87fa8f4d5b535a0332d
BLAKE2b-256 checksum
How to use checksums
5c33d23b26661dfbec04e157bf68cb6ea2a8ba10cab01bf66db3b743a74fb456
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.2.5 This release

1 release file

1.2.4

1 release file

1.2.3

1 release file

1.2.2

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.9

1 release file

1.1.8

1 release file

1.1.7

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page