Merge pull request #4127 from sbwalker/dev

fix issue where active tab not set correctly when rich text editor disabled
This commit is contained in:
Shaun Walker 2024-04-11 09:16:57 -04:00 committed by GitHub
commit 8a2d79e17d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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)