Work continues on fleshing out the global style variations feature. Global Style Variations Light and Dark global style variations in sidebar. This opens up a whole new world of layout possibilities for block themes. I am eager to see what theme authors and users do with it. I already have plenty of ideas rolling around in my head, a couple of which I shared when covering this feature last week. However, using featured images within Cover blocks is easily one of the things I am most excited about. Sometimes it is hard to pick favorites when new features are landing as fast as one can test them. Switching it on ties the image data to the block. There is now a new “Use featured image” toggle in the toolbar when inserting a Cover into the editor. Cover Block + Featured Image Using a featured image inside Cover block for single post headers. There is now a clear indicator that newly inserted blocks are laid out horizontally.Īlongside partial text selection, users can quickly put the selected blocks into a Group, Row, or Stack via the toolbar. The Row variation is also much improved when first inserting it. However, no such height control is currently shown in the UI. It is possible for a stacked layout to also be horizontal if there is a height set. One setting that may seem unclear is the control labeled “Allow to wrap to multiple lines.” There is at least one potential use case for that. Stack variation with content justified right. However, the Stack itself has justification controls for aligning content left, right, and center. The Stack variation entirely encapsulates any nested blocks, disabling their alignment controls (e.g., align right, align wide, etc.). However, this should be a welcome tool for building more advanced layouts in themes. I am unsure how this will play out for end-users who may not immediately understand the distinction. However, the Stack variation is technically a flexbox rather than a flow layout. After all, they are both containers for vertically-stacked content. The change creates three variations altogether, counting the default output and Row.Īt first glance, Stack and the default Group block may not seem much different. Gutenberg 13.0 introduces a new Stack variation for the Group block. Stack and Group Variations Group block followed by Row and Stack variations. I covered this new feature in an in-depth post last month. Typing will replace the selected text with the new input. The change supports hitting the Enter key to delete selected text and create a new block, Backspace for removing and backward merging, and Del for removing and forward merging. In the past, highlighting partial text would automatically create a multi-block selection, which is typically not desirable. Users can now select text across multiple Rich Text blocks, such as Paragraph, Heading, List, and Quote. Partial Text Selection Selecting text across two blocks. Other notable highlights include spacing support for the Column block, web fonts optimization, duotones for Site Logo and Post Featured Image placeholders, and vertical alignments for blocks with flex controls. However, to understand the full scale of the release, check out the tickets linked in the Gutenberg 13.0 release announcement. I have covered many of the big-ticket items in this post. The more prominent features include multi-block partial text selection, Cover blocks with featured images, a Stack variation for Groups, and pattern-based page creation. It is one of the heftier releases lately, containing the final features that should ship with WordPress 6.0. Gutenberg 13.0 landed earlier today in the WordPress plugin directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |