Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
In the end, I was successful in extracting the IDs of a Gallery Inner Block. It is kind of a work-around and not an exact solution. This article showed me the way. This is the code I ended up with- attributes: { images: { type: ‘array’, default: [] }, clientId: { ‘type’: ‘string’, ‘default’: ” … Read more