Dynamically show innerblocks within custom Gutenberg block
-
Question: How might I dynamically show some innerblocks (say, innerblocks 1 and 2) within a custom Gutenberg block and hide other innerblocks (say, innerblocks 3 and 4)?
Context: I’m trying to create a custom Gutenberg block using React that reveals/hides content based on the click of button/s — and the content is different innerblocks.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Dynamically show innerblocks within custom Gutenberg block’ is closed to new replies.