I want my custom post to have Gutenberg as a editor

I want my custom post to have Gutenberg as editor for custom post type “timeline_items”. I tried following this article, but it doesn’t seem to work .https://www.cloudways.com/blog/gutenberg-wordpress-custom-post-type/