fix issue where active tab not set correctly when rich text editor disabled
This commit is contained in:
parent
83543bbddc
commit
17370dff54
|
@ -157,6 +157,11 @@
|
|||
_rawhtml = Content;
|
||||
_originalrawhtml = _rawhtml; // preserve for comparison later
|
||||
_originalrichhtml = "";
|
||||
|
||||
if (!AllowRichText)
|
||||
{
|
||||
_activetab = "Raw";
|
||||
}
|
||||
}
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
|
|
Loading…
Reference in New Issue
Block a user