title: MVC Razor Editor Template for ContentEditable DIV
body: <p>Being a little thick today. I need to create a MVC Editor Template that will use a DIV with <code>conteneditable="true"</code> and use the existing values. Tried a few approaches but dont appear to get the value in the div or for the value to update in the model. If someone could point me in the right direction that would be great.</p>
  
  <pre><code>&lt;div contenteditable="true" 
      id="@ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty)" 
      name="@ViewData.TemplateInfo.GetFullHtmlFieldName(string.Empty)"&gt;
          @ViewData.TemplateInfo.FormattedModelValue
  &lt;/div&gt;
  </code></pre>