insertBlock() function in 5.6.x
-
The insertBlock() Gutenberg JS function does not seem to be working as it did in WordPress version 5.5.3. On version 5.6.x, innerBlocks[] does not always reflect the insertion of the new block. Did anything change that would impact the results if the insertBlock function. Tried using wp.data.dispatch( ‘core/block-editor’ ).insertBlocks instead, but it had the same problem.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘insertBlock() function in 5.6.x’ is closed to new replies.