Do you need to make a slideshow with content from your latest posts in a category using the Gutenberg editor? This can be done without coding using a Gutenberg plugin.
To make the slideshow you can use the Ultimate Addons for Gutenberg plugin which is very easy to use and free. We also used this plugin to make a 3 columns layout with posts from a category in Gutenberg editor . After you install the plugin, click on the Gutenberg + sign and then “Browse all”
Once you have inserted the post carousel block in your page or post, in the right sidebar you have all the settings needed to make the content slideshow with ease. First you have to select the post type for the content and choose the category where the posts are coming from. To select the number of slides the carousel will have you should slide the number of items like in the screenshot below.