Gutenberg: Restrict Top Level Blocks, But Not Child Blocks

Question

Background

I’ve created a custom top level “page section” block, to work with my existing theme. I’ve like to restrict top level blocks to ONLY that one block. However, I don’t want to disable all blocks completely, because I want all blocks available to use as innerBlocks.

Question

How can I restrict top level blocks, without restricting child level blocks?

0
Andy Mercer 2 years 2019-11-27T11:14:57-05:00 0 Answers 82 views 0

Leave an answer

Browse
Browse