Since I use SSR with prerender in nuxt3, there is no built-in way of doing the rendering of blocks inside of richtext, so I had to figure out a custom way of doing it. I settled with looping through the richtext nodes and adding the blocks and HTML to an array. This way I can render the richtext in the correct way and still have support for in-line blocks.
To add a block in richtext you use:
which places a block list inside of the richtext.
After placing a block it looks like this:
which renders like this:
Here is the code for how to do this: