Using 2 HTML blocks in Gutenberg to wrap content with div

You can achieve the same thing by wrapping multiplle blocks in groups blocks, and adding HTML classes to them, or to individual blocks. Modifying their HTML with the code editor isn’t necessary