fix issue where active tab not set correctly when rich text editor disabled

This commit is contained in:
sbwalker 2024-04-11 09:16:39 -04:00
parent 83543bbddc
commit 17370dff54

View File

@ -157,6 +157,11 @@
_rawhtml = Content;
_originalrawhtml = _rawhtml; // preserve for comparison later
_originalrichhtml = "";
if (!AllowRichText)
{
_activetab = "Raw";
}
}
protected override async Task OnAfterRenderAsync(bool firstRender)