From 176ae4c70dde30b9e78b5c67e5ed782be7b5aeb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Bell=C3=AAtre?= Date: Wed, 13 Dec 2023 14:43:48 +0100 Subject: [PATCH] Fix default alignment for blocks --- src/Block.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Block.php b/src/Block.php index 0c5bcae5..082d67de 100644 --- a/src/Block.php +++ b/src/Block.php @@ -360,6 +360,8 @@ public function compose() 'align' => $this->align, 'align_text' => $this->align_text ?? $this->align, 'align_content' => $this->align_content, + 'alignText' => $this->align_text ?? $this->align, + 'alignContent' => $this->align_content, 'styles' => $this->styles, 'supports' => $this->supports, 'enqueue_assets' => function () {