Craig100
07/24/2023, 10:08 PM@SlimsyService.ConvertImgToResponsive(Model, "richTextBody", renderPicture:true, pictureSources: new []{"webp"})
When the block has two "Models":-
@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<Umbraco.Cms.Core.Models.Blocks.BlockGridItem<RichTextBlock, ForegroundAndBackgroundSettings>>
I've tried "RichTextBlock" and "RichTextBlock.Content" and "RichTextBlock.Content.Text" but it gets messy quickly.
I'm assuming "richTextBody" is just the alias of whatever you've called the RTE in the element. In my case it'll be "text".
Thanks.