How to Enable Gutenberg Editor with Custom Post Type

The CPT (Custom Post Type) helps to extend the functionality of WordPress. The Gutenberg Editor is part of the core functionality since WordPress 5.x release. It’s available for default pages and post types. And the default old Classic Editor will see with the CPT.