Is the markup the same when used in other blocks?
Is the samme CSS available in both cases?
Are you using ContentArea to render this block or using XhtmlString?
Make sure the parent property rendering it properly. Like-
@Html.PropertyFor(m => m.MainContentArea)
we are having an issue creating a button block. When we use the block on a page, it renders perfectly fine. However, it does not display as a button when used with another block, it just shows the name of the block as text. The view should render it as a button, but it isnt working on blocks for whatever reason. Does anyone know what could cause this block to render differently on blocks vs pages?
Our button model:
Our button view: