diff --git a/sage-acf-gutenberg-blocks.php b/sage-acf-gutenberg-blocks.php index 5685642..3efe3f4 100644 --- a/sage-acf-gutenberg-blocks.php +++ b/sage-acf-gutenberg-blocks.php @@ -154,6 +154,7 @@ function sage_blocks_callback($block, $content = '', $is_preview = false, $post_ $block['is_preview'] = $is_preview; $block['content'] = $content; $block['slug'] = $slug; + $block['anchor'] = isset($block['anchor']) ? $block['anchor'] : ''; // Send classes as array to filter for easy manipulation. $block['classes'] = [ $slug,