Gutenberg: Sidebar for specific post type
I’m trying to figure out a way, to create a Gutenberg sidebar that is only visible on a custom post type.
For instance, I’d like my sidebar with settings, like a custom checkbox, only related to pages, to be inaccessible on my custom post types.
Instead of creating a sidebar for a specific post type, it would also be great to remove a sidebar from a specific post type.
I couldn’t yet find any way to accomplish that, any ideas?