Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-6670

Support full alignment on blocks


    • Icon: Task Task
    • Resolution: Accepted
    • Icon: Should have Should have
    • 2.77.1
    • None
    • 5
    • Gutenberg
    • Sprint #181, Sprint #182
    • phobos

      WordPress allows themes to support wide and full alignment, which could be useful for things like full width page headers. In fact it's probably hard to implement those without this.

      If we add set a theme support flag, some blocks such as images will display wide alignment options. This now only depends on the editor width config in theme.json.

      For now we opt out of the wide alignment option, and only add the full width option.

      As a result of this ticket, every core block that supports wide alignment will have this option available.

      Heads up: We haven't tested this extensively on every core block yet (there's a lot of them). So if you use this option please check if it has the desired result for your content before publishing. It's also possible that child theme CSS prevents it from working properly.



            pvincent Pieter Vincent (Inactive)
            pvincent Pieter Vincent (Inactive)
            Magali Fatome Magali Fatome (Inactive)
            Maud Leray Maud Leray
            0 Vote for this issue
            0 Start watching this issue