I actually wrote a blog post on this here: https://www.codeinwp.com/blog/adapt-your-plugin-for-gutenberg-block-api/

It shows you how to adapt your shortcode for Gutenberg. Not spamming, honestly. :D