November Happy Hour will be moved to Thursday December 5th.
Hello,
I've just implemented the inline block function in the project I'm working on.
I do however have some issues with the rendering of the content area. The inline blocks won't show up at all if I'm using the regular old syntax like this:
@Html.PropertyFor(x => x.CurrentContent.ContentArea)
The inline blocks show up if I instead render my content area like this:
<div epi-property="@Model.CurrentContent.ContentArea"/>
The problem I'm facing is that the later syntax breaks some of my other blocks since it adds an extra div. Like this:
The empty divs should contain a layout block that doesn't show up at all because of the extra divs.I would prefer using the later syntax for rendering my properties, but is there a way to use it without adding an extra HTML element?
If there isn't, how can I render my inline blocks with the Html.PropertyFor-method?
Hello,
I've just implemented the inline block function in the project I'm working on.
I do however have some issues with the rendering of the content area. The inline blocks won't show up at all if I'm using the regular old syntax like this:
The inline blocks show up if I instead render my content area like this:
The problem I'm facing is that the later syntax breaks some of my other blocks since it adds an extra div. Like this:
The empty divs should contain a layout block that doesn't show up at all because of the extra divs.
I would prefer using the later syntax for rendering my properties, but is there a way to use it without adding an extra HTML element?
If there isn't, how can I render my inline blocks with the Html.PropertyFor-method?