Workaround for CMS custom code embeds in rich text elements

Thanks @samliew! That’s a nice update!