Skip to content

Commit

Permalink
Add column-gap and row-gap as allowed CSS properties for compatibilit…
Browse files Browse the repository at this point in the history
…y with WP 6.0 (#49118)
  • Loading branch information
andrewserong authored Mar 16, 2023
1 parent 55e16d3 commit 0ccb2d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/compat/wordpress-6.1/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
function gutenberg_safe_style_attrs_6_1( $attrs ) {
$attrs[] = 'flex-wrap';
$attrs[] = 'gap';
$attrs[] = 'column-gap';
$attrs[] = 'row-gap';
$attrs[] = 'margin-block-start';
$attrs[] = 'margin-block-end';
$attrs[] = 'margin-inline-start';
Expand Down

1 comment on commit 0ccb2d9

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 0ccb2d9.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4442196227
📝 Reported issues:

Please sign in to comment.