Hi Brenden, thanks for your help. After playing around with it for a bit I found out how to add it. I needed to include the following on the view:
@using Kentico.PageBuilder.Web.Mvc
@using Kentico.Components.Web.Mvc.InlineEditors
And then I used the inline editor in the view like:
@if (Context.Kentico().PageBuilder().EditMode)
{
Html.Kentico().RichTextEditor(nameof(PageSectionWidgetProperties.Copy));
}
else
{
@Html.Raw(Html.Kentico().ResolveRichText(Model.Copy))
}
Hopefully this will help someone else as well