Skip to content

Instantly share code, notes, and snippets.

@kgiszewski
Created June 23, 2014 15:11
Show Gist options
  • Save kgiszewski/f3ae5ecb9d3d01b5dfe9 to your computer and use it in GitHub Desktop.
Save kgiszewski/f3ae5ecb9d3d01b5dfe9 to your computer and use it in GitHub Desktop.
RichTextBlock.cshtml
@inherits Umbraco.Web.Mvc.UmbracoViewPage<ArchetypeFieldsetModel>
@using Archetype.Models;
@if(Model != null && Model.HasValue("text"))
{
<div class="content-block-rte">
@Html.Raw(Model.GetValue("text"))
</div>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment