Created
February 20, 2018 22:03
-
-
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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