- Issue created by @vasi1186
- Status changed to Needs review
about 2 months ago 11:26am 7 May 2024
The _gutenberg_is_gutenberg_enabled()
function is used to check if Gutenberg should be enabled for an entity. The problem is that there is no way for other modules to decide on this.
Create a new hook, called hook_gutenberg_enabled()
that is triggered by the function, and if there is any module that decides to not have the Gutenberg editor enabled, then the editor is disabled. The default would still be to check the Gutenberg settings from the node type configuration.
A new hook: hook_gutenberg_enabled()
, returning a boolean value.
Needs review
2.0
Code