Skip to content

Commit

Permalink
🩹 Fix default block alignment (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbelletre committed Mar 5, 2024
1 parent 36916c5 commit 8fa7ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Block.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,8 +460,8 @@ public function settings(): Collection
'post_types' => $this->post_types,
'mode' => $this->mode,
'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->getStyles(),
'supports' => $this->supports,
'enqueue_assets' => fn ($block) => method_exists($this, 'assets') ? $this->assets($block) : null,
Expand Down

0 comments on commit 8fa7ce3

Please sign in to comment.