<Toggle Label="Readonly" @bind-Checked=@isReadonly /> <RichTextEditor @bind-RichText=@htmlContents ReadOnly=@isReadonly /> @htmlContents Show additional C# code...