My preferred code editor on macOS is BBEdit, which I use most of the time.
I also like Sublime, and sometimes use VSCode editor (MS Electron based). (And I also use MacVim and regular Vim/NeoVim for command line. And Emacs … yes, I’m a bit weird …)
I’m not sure if I understand correctly, but if you add something to the HTML code after exporting, such as a tag or something else, it will no longer be there after the next export and you will have to add it again.
If it’s just a few icons, you could assign them with JavaScript in the Blocs code editor
Any code editor could accomplish this task. You can even use the (Free) BBEdit version, or OpenSource (Free) CodeEdit. Each are macOS native, fast and good for quick edits without launching a full fledged IDE.
Though, you may be better off submitting a #feature-request (Wish List) and hoping it gets added. As was already stated above each export will nullify your efforts of external editing. Unless you are able to automate the external process, it could prove to be a daunting choir for a lot of instances each time via manual editing. If only a few then maybe you are ok with it.
Thx to all for your replies and your good remarks, submit a feature request would be the best choice to have this possibility directly in Blocs than to use an external app.