More control over configuration of allowed blocks

Created on 2 January 2020, over 4 years ago
Updated 25 May 2024, about 1 month ago

Currently, the list of allowed blocks can be configured separately for each node type.
However, for certain use cases, it would be useful if developers had more control over which blocks are allowed for each individual node.

This could be implemented through two main changes:

  • Add the node id to the "gutenberg.blocks.load" route and consequently to the BlocksController::loadByType method
  • Add a hook that allows to change the list of "*_allowed_drupal_blocks" programmatically (by node type and node id)
Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇱🇺Luxembourg michel_w

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024