More control over configuration of allowed blocks

Created on 2 January 2020, almost 5 years ago
Updated 27 August 2024, 4 months 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

Fixed

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.71.5 2024