Skip to content

Instantly share code, notes, and snippets.

@cssquirrel
Created February 20, 2018 22:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cssquirrel/273064aba6a123df5b7b663824c16133 to your computer and use it in GitHub Desktop.
Save cssquirrel/273064aba6a123df5b7b663824c16133 to your computer and use it in GitHub Desktop.
A simple example of how to use the Ernest rich text editor in a view.
@inherits UmbracoTemplatePage
<div>
@* Assume we have an Ernest property editor named bodyText on the document type.*@
@Model.Content.GetPropertyValue<IHtmlString>("bodyText")
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment