#59358 closed defect (bug) (fixed)
Fix post editor layout when Post Content block attributes are empty
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.4 | Priority: | normal |
Severity: | normal | Version: | 6.4 |
Component: | Editor | Keywords: | gutenberg-merge has-patch has-unit-tests |
Focuses: | Cc: |
Description
Currently we only set $post_content_block_attributes
in the editor settings if the post content attributes array isn't empty. But if the block's layout settings aren't changed, the attributes array may well be empty, which results in the wrong layout in the post editor.
This ticket tracks syncing this Gutenberg fix: https://github.com/WordPress/gutenberg/pull/54485
Change History (3)
This ticket was mentioned in PR #5221 on WordPress/wordpress-develop by @isabel_brison.
17 months ago
#1
- Keywords has-patch has-unit-tests added
#2
@
17 months ago
- Owner set to isabel_brison
- Resolution set to fixed
- Status changed from new to closed
In 56629:
@isabel_brison commented on PR #5221:
17 months ago
#3
Thanks for the reviews! Committed in r56629.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/59358
This PR syncs the changes from https://github.com/WordPress/gutenberg/pull/54485 and adds a test for the Post Content block with empty attributes.