Gutenberg: Heading with subheading/paragraph

In this case it seems a block pattern might suffice. The Group block has a templateLock attribute which can be set to all to prevent any additional blocks from being inserted within and also keep the Heading and Paragraph blocks from being moved or deleted. Here’s an example with the template lock and a custom … Read more

how to trigger a Gutenberg image gallery lightbox

In this case I think it would be easiest to simply ignore any Gutenberg-specific implementation and set up the button’s click event to click() the first linked image in the gallery listing. The following searches the page for “gallery buttons” and the first linked image in a gallery block, then sets up the buttons to … Read more