Content Block Preview
IContentBlockPreview@implements ZauberCMS.Core.Content.Interfaces.IContentBlockPreview
@if (Content != null)
{
<div class="fs-6">
@((MarkupString)(Content.GetValue<string>("Content") ?? string.Empty))
</div>
}
@code {
[Parameter] public Content? Content { get; set; }
[Parameter] public ContentType? ContentType { get; set; }
public string ContentTypeAlias => "RTEBlock";
}@implements ZauberCMS.Core.Content.Interfaces.IContentBlockPreview
@if (Content != null)
{
<RTEBlock Content="@Content" />
}
@code {
[Parameter] public Content? Content { get; set; }
[Parameter] public ContentType? ContentType { get; set; }
public string ContentTypeAlias => "RTEBlock";
}Last updated