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:
commit
8a2d79e17d
|
@ -157,6 +157,11 @@
|
||||||
_rawhtml = Content;
|
_rawhtml = Content;
|
||||||
_originalrawhtml = _rawhtml; // preserve for comparison later
|
_originalrawhtml = _rawhtml; // preserve for comparison later
|
||||||
_originalrichhtml = "";
|
_originalrichhtml = "";
|
||||||
|
|
||||||
|
if (!AllowRichText)
|
||||||
|
{
|
||||||
|
_activetab = "Raw";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user