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