When registering a custom record type in WP to support the visual editor, we specify the argument 'supports' => array('editor', ...) . But this adds a classic visual editor, not Gutenberg, as in standard entries.

The documentation did not find what you need to specify to add it.

  • show in rest = true - Nik Horse

1 answer 1

If my memory serves me, when adding a new post type, try specifying the register_post_type('your type', array('show_in_rest' => true)) function register_post_type('your type', array('show_in_rest' => true))