From 0ccb2d9fa7644fe0f0e134aeaafcb7fed5d835b2 Mon Sep 17 00:00:00 2001 From: Andrew Serong <14988353+andrewserong@users.noreply.github.com> Date: Fri, 17 Mar 2023 09:27:02 +1100 Subject: [PATCH] Add column-gap and row-gap as allowed CSS properties for compatibility with WP 6.0 (#49118) --- lib/compat/wordpress-6.1/blocks.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/compat/wordpress-6.1/blocks.php b/lib/compat/wordpress-6.1/blocks.php index 8ee0acba6b6cfe..908cf3f088eb95 100644 --- a/lib/compat/wordpress-6.1/blocks.php +++ b/lib/compat/wordpress-6.1/blocks.php @@ -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';