Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hi,
I've found that editing of content blocks is broken when XhtmlString has a display template. The template doesn't do anything fancy; it renders the property using the EPiServer.Web.Mvc.Html.XhtmlStringExtensions.XhtmlString extension and conditionally adds a wrapper div. It should be possible to replicate the issue with a display template that just calls the extension. I noticed the issue in EPiServer 8.5, update 63.
Is this a (known) bug? Has anyone found a way around it that does not involve removing the display template? I tried adding FullRefreshPropertiesMetaData, though this was a long shot since the editing breaks in All properties view as well.
See also http://world.episerver.com/Blogs/Linus-Ekstrom/Dates/2013/12/Customizing-the-look-and-behavior-in-the-UI-for-your-content-types
The issue is mentioned in the comments for https://www.epinova.no/en/blog/arve-systad/dates/2014/7/custom-rendering-of-content-in-xhtmlstring-areas/.