I based myself on this tutorial to create a Gutenberg block and display my custom post type “Projects”.
I would like to adapt it for another custom post type “FAQ”.
We would, as in the previous one, be able to search for specific posts. And I would like to add the possibility of displaying all the posts by filtering with one or more taxonomies.
Would anyone see how to do it?
I tried the code below but Gutenberg doesn’t seem to save it. When I want to edit my page on which I added the block and selected a taxonomy, my filter is empty.