Try our conversational search powered by Generative AI!
AI OnAI Off
Apr 10, 2018
Apr 20, 2018
CMS Core
Closed, Fixed and tested
If a property is rendered using the PropertyFor extension with RenderSettings that include a custom CSS class, it renders the class attribute twice in Edit mode.
Example
@Html.PropertyFor(m => m.Heading, new { CssClass = "customCssClass" })
Result
<div class="customCssClass" data-epi-property-name="Heading" ... class="customCssClass">...</div>