Hi,
I added default value option for Gutenberg block for Image type
// sets default values for Image field
add_action('acf/render_field_settings/type=image', 'add_default_value_to_image_field');
function add_default_value_to_image_field($field) {
acf_render_field_setting( $field, array(
'label' => 'Default Image',
'instructions' => 'Appears when creating a new block',
'type' => 'image',
'name' => 'default_value',
));
}
When creating new post/page with that block, default image doesn’t show, at least not before post has been saved and reloaded. Can this be somehow enabled, to show immediately after the block has been inserted.
Thanks