I have a very basic custom module showing a compact catalog/product list for logged in customers.
The content of category descriptions etc. is being rendered correctly.
But at the top of my template I include a static block using the code
<?php echo $block->getLayout()->createBlock('MagentoCmsBlockBlock')->setBlockId('trade-intro')->toHtml();?>
This block is a pagebuilder block but it is rendered as straight HTML which means layout, images etc. are broken
How do I add it to my template in a way that goes through Pagebuilder rendering?
note: for the category description I go through the helper
$this->helper(MagentoCatalogHelperOutput::class)->categoryAttribute($winemakercategory, $_description, 'description')
and that uses the right context, but I can’t find the same for the simple cms block