is there a setting to have the component just display the content with the current formatting?
or if not how should we do this ?
with other html components from other vendors i have created pages that allow some users to update content and for non-admin users they just see the page with its content.
The RadzenHtmlEditor does not have such a mode as its sole purpose is to edit HTML. You can just display the HTML as it is.
@if (canEdit)
{
<RadzenHtmlEditor Value="@html" />
}
else
{
@((MarkupString)html)
}