How to allow core blocks selection only when you are inside a custom inner block
-
In some situations I need to hide core Gutenberg blocks.
I don’t wanna turn them off (just hide the ability to select them).
I figured maybe hiding them, depending on where the inserter is in the DOM structure might be an idea.So how to allow core blocks selection only when you are inside a specific custom inner block?
I tried some tests from https://developer.www.ads-software.com/block-editor/data/data-core-block-editor/ but not sure if it’s a good direction
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to allow core blocks selection only when you are inside a custom inner block’ is closed to new replies.