AdvancedCustomFields / AdvancedCustomFields/acf

Gutenberg blocks default alignment AND disable alignment toolbar

Open
#91 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
945
Forks
197
PR merge metrics
No merged PRs in 30d

Description

Thanks for introducing default align in beta 3 @elliotcondon. I've noticed this only works if the alignment toolbar isn't disabled. Would be great to add a default alignment and disable the toolbar for blocks where the width is either wide or full width (and nothing else).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Gutenberg block handling for default alignment and the alignment toolbar, then reproduce the behavior with blocks whose width is wide or full width. Done means those blocks receive their default alignment while the alignment toolbar is disabled, without changing behavior for other widths.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.