Skip to content

feat(editor): blacklist specific Gutenberg blocks - #506

Merged
francoistibo merged 3 commits into
masterfrom
feature/blacklist-blocks
Sep 21, 2026
Merged

francoistibo merged 3 commits into
masterfrom
feature/blacklist-blocks

Conversation

@firestar300

Copy link
Copy Markdown
Contributor

Switches the block management strategy from a whitelist to a blacklist. Previously, only explicitly allowed blocks were available. This change enables all blocks by default, but specifically disallows a defined set of core blocks.

This approach provides greater flexibility and simplifies block management by not requiring explicit whitelisting for the majority of desired blocks.

https://app.notion.com/p/beapi/BFF-White-liste-des-block-provenant-de-blockparty-3a50865393b980568699e83325df47c6?v=28b1760024c04863922bd6a44b0ee494&source=copy_link

Switches the block management strategy from a whitelist to a blacklist. Previously, only explicitly allowed blocks were available. This change enables all blocks by default, but specifically disallows a defined set of core blocks.

This approach provides greater flexibility and simplifies block management by not requiring explicit whitelisting for the majority of desired blocks.
@francoistibo

Copy link
Copy Markdown
Contributor

compléter la liste (par exemple avec tous les blocs site-editor) pour éviter de polluer le BO avec une liste longue de blocs

@francoistibo
francoistibo merged commit e4f7134 into master Sep 21, 2026
6 checks passed
@firestar300
firestar300 deleted the feature/blacklist-blocks branch September 21, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants