WordPress.org

Make WordPress Core

Changes between Initial Version and Version 5 of Ticket #46778


Ignore:
Timestamp:
04/12/2019 05:17:52 PM (6 months ago)
Author:
kjellr
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #46778

    • Property Summary changed from Twenty Thirteen: Add styles to support the section block to Twenty Thirteen: Add styles to support the group block
  • Ticket #46778 – Description

    initial v5  
    1 Gutenberg has recently merged in a new "Section" block:
     1Gutenberg has recently merged in a new "Group" block:
    22
    33https://github.com/WordPress/gutenberg/pull/13964
     4(Renamed "Group" here: https://github.com/WordPress/gutenberg/pull/14920)
    45
    5 This block acts as a container for other blocks. The Section block supports standard, wide and full alignments for both itself and its child blocks. The theme requires a patch for both the front end and the editor styles to ensure these alignments appear as indented.
     6This block acts as a container for other blocks. The Group block supports standard, wide and full alignments for both itself and its child blocks. The theme requires a patch for both the front end and the editor styles to ensure these alignments appear as indented.
    67
    7 **The Section block is currently assigned to the Gutenberg 5.5 milestone. A patch should be merged into Twenty Nineteen alongside that release, to ensure that the Section block works as intended upon release.**
     8**The Group block is currently assigned to the Gutenberg 5.5 milestone. A patch should be merged into Twenty Nineteen alongside that release, to ensure that the Section block works as intended upon release.**
    89
    9 In general, standard, wide and full-aligned blocks inside of Section blocks should appear consistent with the way they appear outside of Section blocks. Since Section blocks themselves can in turn be standard, wide, or full-aligned, the behavior of child elements should roughly correspond to the recommendation laid out here:
     10In general, standard, wide and full-aligned blocks inside of Group blocks should appear consistent with the way they appear outside of Section blocks. Since Group blocks themselves can in turn be standard, wide, or full-aligned, the behavior of child elements should roughly correspond to the recommendation laid out here:
    1011
    1112https://github.com/WordPress/gutenberg/pull/13964#issuecomment-472562800
     
    23241. Until there's a build for Gutenberg 5.5, the best way to test this is to compile the master branch of Gutenberg and run it on your core dev environment.
    2425
    25 2. Add a new post, and switch to the code view. In that view, paste in this sample content to test a wide variety of Section block alignments, alongside various child blocks: https://cloudup.com/czLTdIYcU5O
     262. Add a new post, and switch to the code view. In that view, paste in this sample content to test a wide variety of Group block alignments, alongside various child blocks: https://cloudup.com/cYDmpgD08FU
    2627
    27283. Double check to make sure blocks are appearing as intended. Also, be sure that there is no horizontal scroll added to the page. Test across a wide range of breakpoints as well!