Get separate blocks content for each block inside InnerBlocks

Question

I would like to custom output InnerBlocks component blocks, differently than Innerblocks.Content does. In order to do that, I would need access to blocks inside InnerBlocks and their content.

I am planning to make a block which would use InnerBlocks, but save output of this component in save function of my block differently (not using InnerBlocks.Content).

How to access blocks inside InnerBlocks and render their HTML?

0
Lovor 2 years 2020-12-17T16:10:21-05:00 0 Answers 8 views 0

Leave an answer

Browse
Browse