Is it possible to add settings to a search block in Gutenberg?
You can try adjusting the post type of the search query with: <!– wp:search { “label”:”Search”, “buttonText”:”Search”, “query” : {“post_type” : “cpt”} } /–> replacing cpt with your custom post type. This will add a hidden input tag, to the search form, for the post_type GET query parameter.