Trigger function on Remove block or add new block in Gutenberg JavaScript
Trigger function on Remove block or add new block in Gutenberg JavaScript
Trigger function on Remove block or add new block in Gutenberg JavaScript
Gutenberg Custom Block Not Validating – Ideas?
Gutenberg Blocks – Save a predefined text attribute?
How to join Caption AND Description Meta Fields as one combined-caption in Image Block
WordPress 5.8 : display new widget
Adding custom social icons to the social media icon block in the Gutenberg editor?
If is block name
Using birgire’s suggestions, I came up with the following solution that is working well with both the old pre-WP 4.x data and the newer posts that have been added under 5.0. // if there is a gallery block do this if (has_block(‘gallery’, $post->post_content)) { $post_blocks = parse_blocks($post->post_content); $ids = $post_blocks[0][attrs][ids]; } // if there is … Read more
Custom CSS in Widget editor (Gutenberg) gets stripped out
extraprops override existing props