diff --git a/Oqtane.Client/Modules/Controls/RichTextEditor.razor b/Oqtane.Client/Modules/Controls/RichTextEditor.razor index b313500b..b99032a4 100644 --- a/Oqtane.Client/Modules/Controls/RichTextEditor.razor +++ b/Oqtane.Client/Modules/Controls/RichTextEditor.razor @@ -6,7 +6,7 @@
tags which can be used as a signal to set the active tab + if (!string.IsNullOrEmpty(Content) && !Content.StartsWith("
") && AllowRawHtml) + { + _activetab = "Raw"; + } } protected override async Task OnAfterRenderAsync(bool firstRender)